Search This Blog

January 16, 2008

Using command lines to turn off/on UAC on Windows Vista

I know lots of people hate UAC and want to turn it off on Windows Vista. You can just write the command line to turn off/on UAC and reboot your PC. How to do it?

Turn off 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

Turn on 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

Reboot: shutdown –r

After you run UAC and reboot command lines, your PC will cause reboot automatically. Everything will be fine. Is that easy for you?

No comments: