Windows 10 Disable OpenVPN startup for new Users

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
SandmanPi1
OpenVpn Newbie
Posts: 1
Joined: Tue Nov 03, 2020 12:48 pm

Windows 10 Disable OpenVPN startup for new Users

Post by SandmanPi1 » Tue Nov 03, 2020 1:00 pm

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.

User avatar
SerGay
OpenVpn Newbie
Posts: 13
Joined: Sat Dec 07, 2019 12:09 pm

Re: Windows 10 Disable OpenVPN startup for new Users

Post by SerGay » Mon Nov 09, 2020 4:23 pm

Just reinstall and disable this item

Image

User avatar
Gwyll
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 27, 2016 6:38 pm

Re: Windows 10 Disable OpenVPN startup for new Users

Post by Gwyll » Wed Jun 02, 2021 11:53 am

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

Post Reply