Arlen Holder
2018-06-07 22:04:41 UTC
How can we best turn off User Account Control (UAC) for just an executable?
https://msdn.microsoft.com/en-us/library/bb756993.aspx
The executable I want to turn UAC off for is the OpenVPN Daemon (aka
OpenVPN.exe).
The reason I want to turn it off is that I generally select a score of
config files and then right click to open them, where only one of the score
wins the battle, the rest close on their own (either because they didn't
work, or they weren't the first one to connect, so they're slower).
I don't want to turn off UAC globally if I don't have to.
Have you ever successfully turned off UAC for just a given executable?
How did you accomplish that feat?
Searching the Microsoft web site for UAC help...
https://support.microsoft.com/en-us/products/windows?os=windows-10
This suggests using the "task scheduler".
UAC message "Do you want to allow the following program from an unknown
publisher to make changes to your computer?
https://answers.microsoft.com/en-us/windows/forum/windows_7-security/uac-message-do-you-want-to-allow-the-following/bea30ad8-9ef8-4897-aab4-841a65f7af71
This is the task scheduler reference but that link doesn't exist.
http://www.msfn.org/board/faq-uac-part2-t135472.html
Searching for how the task scheduler does this, I find it's a lousy hack.
https://answers.microsoft.com/en-us/windows/forum/windows_10-security/disabling-uac-approval-for-specific-programs-in/745a3740-679a-42f9-9c51-59475c9cd2ff
which, in effect, runs the program every time when you boot up.
http://www.winhelponline.com/blog/run-programs-elevated-without-getting-the-uac-prompt/
Here is a task-scheduler UAC-shutoff tutorial - but it's not going to work
for this method of just doubleclicking on an openvpn config file to start
the OpenVPN Daemon (aka openvpn.exe) without the UAC control kicking in.
https://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html
I don't want to turn off UAC altogether, with or without WinAero.
https://winaero.com/blog/how-to-turn-off-and-disable-uac-in-windows-10/
I just want to turn UAC off for the one executable, openvpn.exe.
Googling more, this says you can only do it using the special MS tool:
https://superuser.com/questions/99286/selectively-disabling-uac-for-specific-programs-on-windows-7
o Microsoft Application Compatibility Toolkit:
http://www.microsoft.com/en-us/download/details.aspx?id=7352
But the comments show that's a 2-day job (in the end).
Have you ever successfully turned off UAC for just a given executable?
This suggests a third-party program called "UAC Trust Shortcut".
http://www.door2windows.com/how-to-turn-off-user-account-control-uac-for-a-specific-application/
This also suggests a third-party tool called "UAC Pass".
https://www.techgainer.com/disable-uac-prompts-specific-programs-windows/
Where UAC Pass can be found here:
https://sites.google.com/site/freeavvarea/UACPass-en
But that site also suggested "Elevated Shortcut" which is superceded.
https://winaero.com/comment.php?comment.news.152
So I'm not sure what's the most current way to eliminate the query for UAC
in the latest Windows 10 nowadays that works.
Have you successfully turned off UAC for just a given executable?
How did you accomplish that feat?
https://msdn.microsoft.com/en-us/library/bb756993.aspx
The executable I want to turn UAC off for is the OpenVPN Daemon (aka
OpenVPN.exe).
The reason I want to turn it off is that I generally select a score of
config files and then right click to open them, where only one of the score
wins the battle, the rest close on their own (either because they didn't
work, or they weren't the first one to connect, so they're slower).
I don't want to turn off UAC globally if I don't have to.
Have you ever successfully turned off UAC for just a given executable?
How did you accomplish that feat?
Searching the Microsoft web site for UAC help...
https://support.microsoft.com/en-us/products/windows?os=windows-10
This suggests using the "task scheduler".
UAC message "Do you want to allow the following program from an unknown
publisher to make changes to your computer?
https://answers.microsoft.com/en-us/windows/forum/windows_7-security/uac-message-do-you-want-to-allow-the-following/bea30ad8-9ef8-4897-aab4-841a65f7af71
This is the task scheduler reference but that link doesn't exist.
http://www.msfn.org/board/faq-uac-part2-t135472.html
Searching for how the task scheduler does this, I find it's a lousy hack.
https://answers.microsoft.com/en-us/windows/forum/windows_10-security/disabling-uac-approval-for-specific-programs-in/745a3740-679a-42f9-9c51-59475c9cd2ff
which, in effect, runs the program every time when you boot up.
http://www.winhelponline.com/blog/run-programs-elevated-without-getting-the-uac-prompt/
Here is a task-scheduler UAC-shutoff tutorial - but it's not going to work
for this method of just doubleclicking on an openvpn config file to start
the OpenVPN Daemon (aka openvpn.exe) without the UAC control kicking in.
https://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html
I don't want to turn off UAC altogether, with or without WinAero.
https://winaero.com/blog/how-to-turn-off-and-disable-uac-in-windows-10/
I just want to turn UAC off for the one executable, openvpn.exe.
Googling more, this says you can only do it using the special MS tool:
https://superuser.com/questions/99286/selectively-disabling-uac-for-specific-programs-on-windows-7
o Microsoft Application Compatibility Toolkit:
http://www.microsoft.com/en-us/download/details.aspx?id=7352
But the comments show that's a 2-day job (in the end).
Have you ever successfully turned off UAC for just a given executable?
This suggests a third-party program called "UAC Trust Shortcut".
http://www.door2windows.com/how-to-turn-off-user-account-control-uac-for-a-specific-application/
This also suggests a third-party tool called "UAC Pass".
https://www.techgainer.com/disable-uac-prompts-specific-programs-windows/
Where UAC Pass can be found here:
https://sites.google.com/site/freeavvarea/UACPass-en
But that site also suggested "Elevated Shortcut" which is superceded.
https://winaero.com/comment.php?comment.news.152
So I'm not sure what's the most current way to eliminate the query for UAC
in the latest Windows 10 nowadays that works.
Have you successfully turned off UAC for just a given executable?
How did you accomplish that feat?