Advertisement
johnmahugu

UAC - Windows

May 24th, 2016
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. Enable or Disable UAC From the Windows Command Line
  2. 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.
  3.  
  4. Update: This should also work on Windows 7, 8, 8.1, and probably 8.2. It’ll also work on Windows 10.
  5.  
  6. Note: Disabling UAC will lead to a less secure system, so be warned.
  7.  
  8. Windows needs your permission to annoy the crap out of you:
  9. uac3.png
  10.  
  11. There’s a quick way you can enable or disable this annoying window from the command line:
  12.  
  13. Disable UAC
  14. 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
  15.  
  16. Enable UAC
  17. 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
  18.  
  19. After you enable or disable UAC, you will have to reboot your computer for the changes to take effect.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement