Advertisement
johnmahugu

Dosbatch - enable UAC disable UAC using cmd command script

Jul 16th, 2015
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.54 KB | None | 0 0
  1. @rem Run the following commands with Administrator privileges.
  2. @rem Disable UAC .............................................
  3. 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
  4. @rem Enable UAC...............................................
  5. 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
  6. @rem The above code will require a reboot :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement