Disabling UAC with Powershell
问题 I'm trying to disable UAC (i.e. set to the minimum level) using Powershell. So I'm running: Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name EnableLUA -Value 0 I've also tried this with -Force added on the end. This code has the intended effect of setting UAC to minimum but also the undesired effect of preventing built-in Windows applications (including Edge) from running, returning an error that the application can't be run