How To: Disable Annoying Disable User Account Control(UAC) Prompts in Windows 7 Using Command Prompt

Windows 7 is the successor to Windows Vista, an OS release that promises to fix most of the major annoyances in Windows Vista with some new features like Aero shake,Desktop Sideshow etc.UAC (User Account Control) in Windows 7 has been streamlined, enhanced and optimized to give Windows 7 user better experience when using the operating system while protecting the security of the system.

The command line option can also be used in batch script command file, i.e. .bat and .cmd files, providing greater convenient to advanced technical user. In actual, the commands, which are also used to Enable or Disable UAC in Windows Vista, are just doing the same thing as directly modifying the Windows 7 registry.

Disable User Account Control(UAC) in Windows 7 Using Command Prompt:

  1. Open an elevated command prompt as administrator.
  2. To disable the UAC(User Account Control) in Windows 7, run the following commands:%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

    and optionally, the following command to suppress all elevation consent request and notification:

    %windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f

To re-enable UAC in Windows 7:

To re-enable UAC in Windows 7, the command is:

%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f

and to turn on prompt for consent UI:

%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 2 /f

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 5%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on January 6th, 2009 with no comments.
Read more articles on W7 Annoyances and W7 How To?.

Related articles

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .