brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.51k stars 2.27k forks source link

VPN tray program when used with IKEv2 can cause a bad uninstall #33904

Open bsclifton opened 10 months ago

bsclifton commented 10 months ago

Description

Found when testing https://github.com/brave/brave-browser/issues/33182

When certain steps are followed and Brave is uninstalled, it will leave a file behind. image

This program is actively running and will cause any reattempt installs to fail. image

The work-around is to quit the tray program; right clicking and picking Remove icon image

After that is done, a reinstall works fine.

Restarting may or may not fix the issue (I'll test after logging this issue). We would need to be tested as this tray program may still be registered in startup programs.

Steps to Reproduce

  1. Install Beta (ex: 1.60.102 at time of writing)
  2. launch Brave
  3. open brave://settings/system
  4. Use Wireguard protocol in Brave VPN is enabled by default
  5. purchased, configured and connected to Brave VPN
  6. disconnected VPN in the VPN panel
  7. opened cmd line prompt as an administrator and ran sc.exe delete BraveBetaVpnWireguardService (adjust for appropriate release channel)
  8. connected to VPN via Brave VPN panel
  9. close the browser
  10. Uninstall & reinstall (ex: 1.60.102)
bsdinis1 commented 10 months ago

oh, no! unintended consequences that resulted from installing unwanted services on the user's system! SHOCKING!