Enable or Disable UAC From the Windows Command Line

By Lowell Heddings on December 26th, 2013

If you’ve used Windows Vista for more than 3.7 minutes, you know what UAC (User Account Control) is.. it’s the obnoxious, nagging popup window that will be your life for the next 3-5 years unless you switch back to XP in frustration, or to a better OS like… OS X, Suse, Ubuntu, or even XP.

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:
uac3.png

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

Disable UAC

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

Enable UAC

C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

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.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/26/13
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!