Advertisement
metalx1000

Windows CMD disable UAC Prompt

Dec 3rd, 2017
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.42 KB | None | 0 0
  1. #disabling UAC all together requires a reboot
  2. #But, you can disable the prompts without rebooting or loging out
  3. #We do this by changing registry values
  4.  
  5. #disable UAC Prompt
  6. reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 0 /f
  7. reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement