- MAXIMUMpcguides - http://www.maximumpcguides.com -

Disable or Enable UAC from the Command Prompt

Posted By Brent Trahan On 3.06.07 @ 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: http://www.maximumpcguides.com

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

Copyright 2006-2008 Brent Trahan. All rights reserved.

Microsoft Windows is a registered trademark of Microsoft Corporation. Microsoft Corporation in no way endorses or is affiliated with MAXIMUMpcguides.com. All other products mentioned are registered trademarks of their respective companies. MAXIMUMpcguides IS NOT RESPONSIBLE for any damage or data loss to your computer from using this web site. All information on MAXIMUMpcguides is provided on an AS IS basis with NO WARRANTIES.