Hi Selva, all,

On 23-Jan-19 16:34, Selva Nair wrote:
Hi,

If its not some other startup enrty as tincantech pointed out, please read on:

On Wed, Jan 23, 2019 at 9:07 AM Jan Just Keijser <[email protected] <mailto:[email protected]>> wrote:

    hi all,

    how do I disable the automatic startup of OpenVPN on Windows?
    I can disable the "Automatically start" button in the GUI all I like,
    but next time I boot Windows (7 ) the GUI is launched again...
    This is with OpenVPN 2.4.6-i602 on Win 7 Pro.


Does the "Launch on startup" checkbox show up as selected when the rebooted (or re-logged in) after unselecting it? If yes, "ActiveSetup" used by the installer to set it up may be misbehaving. Its supposed to set it up only once after first login. The installer adds a reg key "HKLM\Software\Microsoft\Active Setup\Installed Components\OpenVPN_UserSetup\" with a few entries --  the one named "StubPath" is the command run for each user on first login. At that point it  also adds or updates the reg key "HKCU\Software\Microsoft\Active Setup\Installed Components\OpenVPN_UserSetup\.." to indicate setup for that user is done. Checking those keys may help find what is causing this.


I've already fixed the problem. To remediate , I first uninstalled OpenVPN 2.4.6 and the OpenVPN 2.4.6m4 msi packages (I noticed both were installed during testing for Simon).
Then reboot, then re-install the community openvpn 2.4.6 .exe file.
The registry key value now is:
   reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v OPENVPN-GUI /t REG_SZ /d "C:\Program Files\OpenVPN\bin\openvpn-gui.exe" /f

and the button "Launch on startup" is now behaving again as expected.
Left to test: perhaps the MSI installer package installs a *different* set of registry keys ...

thanks for the help,

JJK / Jan Just Keijser

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to