There are a few ways to enable or disable UAC from the Windows Command Line. The easiest way is to use the command prompt. To start the command prompt, type “cmd” and hit enter. Then, type “netstat -a” and hit enter. The netstat -a command will show you all of the network connections on your computer. If you see a line that says “UAC is enabled”, then you can enable UAC by typing “netset uac on”. If you see a line that says “UAC is not enabled”, then you can disable UAC by typing “netset uac off”.


Update: This should also work on Windows 7, 8, 8.1, and probably 8.2. It’ll also work on Windows 10.

Note: Disabling UAC will lead to a less secure system, so be warned.

Windows needs your permission to annoy the crap out of you:

There’s a quick way you can enable or disable this annoying window from the command line:

Disable UAC

Enable UAC

After you enable or disable UAC, you will have to reboot your computer for the changes to take effect.

You can also enable or disable this from the Control Panel if you choose.