How to Disable or Enable UAC from command line
- Details
- Created on Monday, 17 June 2013 11:07
- Last Updated on Wednesday, 05 February 2014 07:29
- Written by Daniel Paessens
- Hits: 4189
Hereby a quick way how to disable/enable in Windows 8, Windows 7 or Windows Vista User Account Control (UAC) by using command line.
To 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
To 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
Be aware that changing this setting in Windows 8, will have an influence on the usage of Metro Apps.
Some tools on this matter: