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.


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

  1. How to Disable and Turn Off UAC in Windows 7 » My Digital Life
    February 4th, 2009 00:45
    5

    [...] greater convenient to advanced technical user. In actual, the commands,, which are also used to disable or enable UAC in Vista, are just doing the same thing as directly modifying the [...]

  2. How to Disable and Turn Off UAC in Windows 7 » My Digital Life
    February 4th, 2009 00:45
    4

    [...] greater convenient to advanced technical user. In actual, the commands,, which are also used to disable or enable UAC in Vista, are just doing the same thing as directly modifying the [...]

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

    You need to launch as administrator.

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

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

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

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 to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

vista uae - disable uac script - uae vista - turn off acl vista - disable uac with script - turn off uae - vista remove confirmation - script to turn off UAC - disable acl windows 7 - script disable uac - how do u enable command prompt on vista - disable vista administrator confirmation - how to access msdos through vista - turn off confirmation in vista - windows 7 disabling uae - deactivate elevated command prompt - remove confirmation in vista - turn off uae vista - vista disable administrator prompt - how to enable command prompt in vista - remove vista confirmation - vista uea - vista administrator confirm - disable uae windows 7 - how to turn off confirmation in vista - UAE in vista - windows cmd user confirm - windows 7 turn off acl - how do i remove Cyber Security drivers using command prompt - disable uac on vista script - disable uae - turn acl off in vista - how to remove confirmation for vista - turn off vista prompts - turn off windows 2008 acl - How can I access "Command Prompt" in Windows7 - command to turnoff UAC + access denied - disable user control by command - disable confirmation dialog boxes in vista - how to disable confirm popup in window vista - how to turn off admin in command - how to remove administrator confirmation in vista - removing conformation prompt in windows vista - script disable user access contorl - turn on UAE in vista - vista uac control disable in command prompt - windows disable user confirmation - command promt srolling diabled vista - disable acl vista - disable confirmation of controlors -