=====Windows 7 - User Account Control (UAC)======
[[https://support.microsoft.com/en-us/kb/2526083|Microsoft Support - Disabling User Account Control (UAC) on Windows Server (KB2526083)]]
====Disable====
Import:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000000
Or execute:
"%SYSTEMROOT%\system32\reg.exe" ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
===Via GPO===
Computer Configuration\Policies\Windows Settings\Security Settings\ Local Policies\Security Options:
* User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode: Elevate without prompting.
* User Account Control: Detect application installations and prompt for elevation: Disabled
* User Account Control: Run all administrators in Admin Approval Mode: Disabled
* User Account Control: Only elevate UIAccess applications that are installed in secure locations: Disabled
Source: [[http://blog.pythonaro.com/2013/05/fully-disable-user-access-control-uac.html|Subclassed - Fully disable User Access Control (UAC) via Group Policy (GPO)]] \\
====Enable====
Import:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLUA"=dword:00000001
Or execute:
"%SYSTEMROOT%\system32\reg.exe" ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f