- MAXIMUMpcguides – Windows Vista tips, tricks, help, and how-to guides - http://maximumpcguides.com/windows-vista -

Disable or Enable UAC from the Command Prompt

Posted By Brent Trahan On March 6, 2007 @ 8:46 am In All, Security, Vista, Windows | No Comments

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


Article printed from MAXIMUMpcguides – Windows Vista tips, tricks, help, and how-to guides: http://maximumpcguides.com/windows-vista

URL to article: http://maximumpcguides.com/windows-vista/disable-or-enable-uac-from-the-command-prompt/

Copyright © 2008 MAXIMUMpcguides Windows Vista. All rights reserved.