Disable UAC using powershell

Script to disable the UAC using powershell.  It checks what version of Windows Operating system  is used  and based on the os is sets the Register parameters to disable the UAC.At this point there are no options included. If somebody would like that please send a Q & A en I will

4,040 times
Add to favorites
Operating System
E-mail Twitter del.icio.us Digg Facebook
  • Is there a script to enable UAC?
    3 Posts | Last post January 20, 2020
    • Is there a script to re-enable the UAC after disabling it?  I know it's a bad idea to disable it, but BitDefender anti-Virus/anti-Malware will not install with it enabled.
    • Hi Dennis,
      This should not be a problem. Let me look in to that.
    • Hi Dennis,
      Yes, just use this
      Set-ItemProperty -Path REGISTRY::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System -Name ConsentPromptBehaviorAdmin -Value 2 -Force 
      This doesn't need reboot and changes are instant.