How do I doubleclick on any arbitrary *.ovpn file & have WIndows 10 UAC user account control consent popups NOT come up?
Posted: Sun Aug 23, 2020 6:28 am
How do I doubleclick on any arbitrary *.ovpn file & have WIndows 10 UAC user account control consent popups NOT come up?
I have been using the openvpn.exe daemon without the GUI for many years where I used to turn UAC completely off but that's overkill.
(1) I install just the "OpenVPN Service" (nothing else), which gives me the openvpn.exe daemon.
(2) I tell Windows to open all *.ovpn files using that openvpn.exe daemon by default
(3) The openvpn.exe daemon properties are set to "Run this program as an administrator"
Number (2) above allows me to doubleclick on any arbitrary *.ovpn file and number (3) above allows openvpn to set the route with admin privileges.
All this works fine as long as I completely turn off Windows User Account Control, but that's just overkill (and unsafe).
I can set up a Windows task to "run with highest privileges", which turns off UAC consent popups for any specific openvpn.exe-and-ovpn-config-file combination, but that's also overkill since I could have dozens or scores of openvpn config files at my descretion.
I don't want to set up a Windows task to "run with highest privileges" for every specific conceivable combination of openvpn.exe-and-config files.
I just want to doubleclick on an openvpn *.ovpn config file and have it open in the OpenVPN daemon WITHOUT the UAC consent popup.
I can't be the only person on the planet who wants this, the SIMPLEST possible OpenVPN setup one can imagine (you just doubleclick on the ovpn file and it just works), which is why I ask the basic setup question:
How do I doubleclick on any arbitrary *.ovpn file & have WIndows 10 UAC user account control consent popups NOT come up?
--
Windows 10 Pro build 1904, OpenVPN-2.5-beta1-amd64
I have been using the openvpn.exe daemon without the GUI for many years where I used to turn UAC completely off but that's overkill.
(1) I install just the "OpenVPN Service" (nothing else), which gives me the openvpn.exe daemon.
(2) I tell Windows to open all *.ovpn files using that openvpn.exe daemon by default
(3) The openvpn.exe daemon properties are set to "Run this program as an administrator"
Number (2) above allows me to doubleclick on any arbitrary *.ovpn file and number (3) above allows openvpn to set the route with admin privileges.
All this works fine as long as I completely turn off Windows User Account Control, but that's just overkill (and unsafe).
I can set up a Windows task to "run with highest privileges", which turns off UAC consent popups for any specific openvpn.exe-and-ovpn-config-file combination, but that's also overkill since I could have dozens or scores of openvpn config files at my descretion.
I don't want to set up a Windows task to "run with highest privileges" for every specific conceivable combination of openvpn.exe-and-config files.
I just want to doubleclick on an openvpn *.ovpn config file and have it open in the OpenVPN daemon WITHOUT the UAC consent popup.
I can't be the only person on the planet who wants this, the SIMPLEST possible OpenVPN setup one can imagine (you just doubleclick on the ovpn file and it just works), which is why I ask the basic setup question:
How do I doubleclick on any arbitrary *.ovpn file & have WIndows 10 UAC user account control consent popups NOT come up?
--
Windows 10 Pro build 1904, OpenVPN-2.5-beta1-amd64