Disable or Enable UAC from the Command Prompt

Posted on: 03.06.07 by Brent Trahan

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

  1. Type cmd in the search box in the Start Menu.
  2. Right-click cmd in the search results and select to Run as administrator.
  3. 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

  4. 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.

Leave a Reply

No Support Questions If you have a support question please ask it in the forum.