Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 233 Bytes

scriptSnippets.md

File metadata and controls

7 lines (5 loc) · 233 Bytes

Powershell Windows Administration

Require password on windows admin commands.

sudo Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value 1