Page 1 of 1

Windows 10 Disable OpenVPN startup for new Users

Posted: Tue Nov 03, 2020 1:00 pm
by SandmanPi1
Good day!
Can't find a way to disable startup of OpenVPN for new user account on windows 10.
I know, i can log in, go to settings and uncheck "Launch on Windows startup", but i want it for all users, that haven't yet logged in and created local profile.
Already checked these places, but haven't find OpenVPN there:

Code: Select all

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run32
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\StartupFolder

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce
Need help!
Thanks in advance.

Re: Windows 10 Disable OpenVPN startup for new Users

Posted: Mon Nov 09, 2020 4:23 pm
by SerGay
Just reinstall and disable this item

Image

Re: Windows 10 Disable OpenVPN startup for new Users

Posted: Wed Jun 02, 2021 11:53 am
by Gwyll
If somebody still needs a solution.

put this into the user's logon script:

reg delete HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v OPENVPN-GUI /f