Quickly disable or enable User Account Control (UAC) from the command prompt.
Introduction
This guide shows you how to quickly enable or disable UAC from the command prompt.
Why You Should NOT Disable UAC
User Account Control (UAC) is meant to protect you from malware, hackers, and yourself. Disabling UAC gives accounts with administrative privileges admin privileges all the time instead of only when needed and lots of other security features.
If you disable UAC don’t complain if your Windows Vista computer gets malware, hacked, or broken by yourself.
Disable UAC from the Command Prompt
- Type cmd in the search box in the Start Menu.
- Right-click cmd in the search results and select to Run as administrator.
- Type the following in the command prompt and press enter:
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
- Restart your computer.
Enable UAC
To enable UAC simply type the following in the command prompt or search box in the Start Menu and press enter:
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
Still need help? Ask your computer question now.
When I do it, it comes up with an error “ERROR: Access is Denied.”
BTW K2 “”
it’s a way to enable/disable UAC automatically via cmd,,,
well if we’re going to turn off password protected sharing automatically through cmd it how??
thnks …….
BTW K2 “”
it’s a way to nurunin UAC automatically via cmd,,,
well if we’re going to turn off password protected sharing automatically through cmd it how??
thnks …….