PowerShell: How to Disable Users Authenticated Control (UAC)

This has been tested on Windows Server 2008, 2016, and 2019. Nothing fancy, just copy/paste this to get rid of that annoying UAC Prompt:

Set-ItemProperty -Path 'REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name ConsentPromptBehaviorAdmin -Value 0

Leave a Reply

Your email address will not be published. Required fields are marked *