Comments
www.mydigitallife.info/.../how-to-disable-or-enable-vista-user-access-control-in-command-prompt/
Posted by saqlain231
if you want to disable then you do C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f
and if you want to enable then you can do
C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /f
Posted by waqasahmad
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:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f
To Enable UAC
============
C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /f
After the command, computer needs to be restarted to the change to be effective.
Posted by suresh123