View Single Post
  #4  
Old August 20th 20, 05:39 PM posted to alt.comp.os.windows-10,alt.comp.microsoft.windows,alt.msdos.batch
Arlen Holder
external usenet poster
 
Posts: 186
Default Expert help requested for removing UAC user account control task scheduler syntax

On Wed, 19 Aug 2020 05:53:24 -0000 (UTC), Arlen Holder wrote:

Voila!
Now, to kill the network gateway without the UAC popups, just type:
Win+R killgw


Here's a tutorial for disabling "Secure Desktop" if you're interested.

I almost always solve all Windows problems and annoyances (often with your
expert help), where I have been searching deeper and deeper to find how to
turn off the UAC prompts for any given executable that can have any given
number of arguments.

Note: It's trivial to turn off the UAC prompt for any given executable:
o Win+R regedit == inokes regedit only after you accept the UAC prompt
o Win+R regopen == runs regedit without the UAC prompt

And, it's trivial to turn off the UAC prompt for a given command+option
o Win+R openvpn.exe given-a-specific-config-file.ovpn

But what I'm trying to turn off the UAC prompt is for the executable (in
this case, openvpn.exe) and _any_ of thousands of free VPN service files.

I'm not there yet, but in the quest, I did just now turn off the UAC
dimming of the screen, which Microsoft calls "Secure Desktop".

Here's a quick tutorial of how to turn off "Secure Desktop" from taking
over your screen, both dimming it and disallowing your use of the screen
while the UAC prompt is active:

1. First test UAC prompt dimming (aka "Secure Desktop") actions:
Win+R regedit
Notice that the screen dims when the UAC prompt is active.
Notice that you can't do anything else on that "secure desktop".

2. Then see if you already have the 32-bit DWORD for SecureDesktop:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Pol icies\System
DWORD (32-bit) Value
Value name: PromptOnSecureDesktop
Value data = 1
Base = Hexadecimal

Note: 1 means run "Secure Desktop"; 0 means don't disable the desktop.

3. My registry already had the key so I simply changed the value.

It's common to then add a "log" to that change in the "Favorites" menu:
Regedit: Favorites Add to Favorites
"20200820 modified PromptOnSecureDesktop (0 = no prompt, 1 = prompt)"

Voila!

Now test UAC prompt dimming (aka "Secure Desktop") actions:
Win+R regedit

Your UAC will still pop up, but "Secure Desktop" won't occur;
this way you can do other things (if that's what you want)
while that UAC popup is active.
--
Every time I try to solve one problem, I end up solving more than one.
Ads