Enable or Disable UAC From the Windows 7 / Vista using Command Line

January 24th, 2010 by admin | Posted under Computer tips, Windows 7, Windows Vista.

UAC

In the earlier post we discussed about enabling or disabling UAC from GUI . Here we are explaining about how to achieve the same using the command line .

uac1

Go to start menu and type “cmd” and select “cmd.exe” ,

uac2

right click on “cmd.exe” and select”Run as administrator” , select yes in the nest window .Enter admin account details if necessary

uac3

In the command line window copy and paste the following code and press enter

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

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

Popularity: 38% [?]

Have any comments?

You must be logged in to post a comment.