Enable or Disable UAC From the Windows Command Line

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:
enable-or-disable-uac-from-the-windows-command-line photo 1

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.

More stories

How to Share Files Between Windows and Linux

We’ve previously covered various ways to share files between nearby computers, but sharing between Windows and Linux can be a little more complex. This article will show you how to map shares across both operating systems for seamless file sharing.

Ubuntu Developers Say Linux Mint is Insecure. Are They Right?

Linux Mint is insecure, according to a Canonical-employed Ubuntu developer who says he wouldn’t do his online banking on a Linux Mint PC. The developer alleges that Linux Mint “hacks out” important updates. Is this a real problem or just fear-mongering?

Desktop Fun: Snowflakes Wallpaper Collection Series 1

Walking through gently falling snow makes for a wonderful, refreshing experience as the quietness and beauty of a transforming landscape surrounds you. Enjoy the view as snowflakes drift lazily across your desktop’s screen with the first in our series of Snowflakes Wallpaper collections.