Skip to content

Instantly share code, notes, and snippets.

@0XDE57
Created July 8, 2016 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0XDE57/d3926b908ea59941beef5abe811d92f7 to your computer and use it in GitHub Desktop.
Save 0XDE57/d3926b908ea59941beef5abe811d92f7 to your computer and use it in GitHub Desktop.
Force ask password on UAC for admin and users: https://msdn.microsoft.com/en-us/library/cc232761.aspx
Windows Registry Editor Version 5.00
;Force ask password on UAC for admin and users
;https://msdn.microsoft.com/en-us/library/cc232761.aspx
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000003
"ConsentPromptBehaviorUser"=dword:00000003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment