How to Disable or Enable Vista User Access Control in Command Prompt

There are many possible way to turn off or turn on User Access Control (UAC) in Windows Vista, which frequently pop up a confirmation dialog window to asking for permissions to continue a task which requires elevated administrator rights. Normally UAC cannot be enabled or disabled by using GUI-based Control Panel. For programmers or developers, it may be useful to be able to enable or disable UAC by using CLI (command line interface) commands, which can be used to automate tasks in batch script.

The ability to enable or disable UAC from command prompt is actually using a trick to turn off or on UAC by using registry key. Simply open command prompt window and run the following command:

To Disable UAC

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

To Enable UAC

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

After the command, computer needs to be restarted to the change to be effective.

Share and contribute or get technical support and help at My Digital Life Forums.



3 Responses to “How to Disable or Enable Vista User Access Control in Command Prompt”

  1. Myles
    April 23rd, 2007 23:48
    1

    Or you could just type msconfig and goto tools then down to Disable UAC

  2. Shadic
    June 25th, 2007 14:07
    2

    I do this, and I end up with a oh-so-wonderful “Access is denied” in the MS-DOS window that appears…

  3. admin
    June 25th, 2007 15:29
    3

    You need to launch as administrator.

Leave a Reply

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

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

disable uae - turn off uae - Vista UAE - vista confirm - disable vista UAE - uae vista - how to disable UAE - vista disable uae - Disable UAC script - disable uae vista - turn off user access control vista - VISTA CONFIRMATION TURN OFF - disable the command prompt - turn off uae in vista - Command prompt /k? - vista confirmation - disable vista user access - enable disable pop up blocking using command prompt - turn off UAC script - vista uae off - Disable vista prompt popups - uac disable script - vista user access confirmation - how to enable command prompt in vista - all - disable command prompt - disabling uae - turn off vista confirmations - uae turn off - remove admin confirmation vista - remove vista confirmation - turn off uae vista - Turning off UAC with Command Script - turn off confirmation in vista - enable user access control - vista confirmation disable - user access cmd - command prompts to enable users - "disable user access control" - cmd set user commands vista - command to disable the users in ADS - confirmation info on vista - disable vista prompts - disable vista prompt up - Disable programs command prompt - how can i disable the command prompt for users - how do I turn off the confirm window in vista - how to disable cmd to a user - how to disable confirm in vista - multi user access 2007 vista -