Disable UAC for administrator using Powershell

Commandline configurations are my favorited. They are very usefull to be used in standard Configuration scripts. This evening I stumbled across this one and wanted to share it. The command uses the registry to perform the change. This allows also other configurations to be injected. My life just got a little bit easier once again…

Set-ItemProperty -Path registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system -Name EnableLUA -Value 1

Leave a Reply