This guide provides step-by-step instructions to prevent a local administrator on a domain-joined computer from installing programs via the Control Panel.
On a Domain Controller, open the Group Policy Management Console (gpmc.msc).
Right-click on the desired Organizational Unit (OU) where the policy will be applied and select "Create a GPO in this domain, and Link it here". Name the new GPO, then right-click on it and select "Edit".
User Configuration -> Administrative Templates -> Control Panel
Find and double-click on "Prohibit access to Control Panel and PC settings".
Set it to Enabled
.
On a Domain Controller, open the Group Policy Management Console (gpmc.msc).
Right-click on the desired Organizational Unit (OU) where the policy will be applied and select "Create a GPO in this domain, and Link it here". Name the new GPO, then right-click on it and select "Edit".
Computer Configuration -> Windows Settings -> Security Settings -> Software Restriction Policies
Right-click on "Additional Rules", select "New Path Rule". Enter the paths to common installation executables, such asC:\Windows\System32\msiexec.exe
,C:\Windows\System32\control.exe
, and set the security level toDisallowed
. Additionally, you can create rules for specific application installers by specifying their paths.
On a Domain Controller, open the Group Policy Management Console (gpmc.msc).
Right-click on the desired Organizational Unit (OU) where the policy will be applied and select "Create a GPO in this domain, and Link it here". Name the new GPO, then right-click on it and select "Edit".
Computer Configuration -> Windows Settings -> Security Settings -> Application Control Policies -> AppLocker
Right-click on "Executable Rules" and select "Create New Rule". Follow the wizard to create rules that disallow installation executables likesetup.exe
,install.exe
, etc. Be sure to specify exceptions for necessary system processes and applications.
Navigate toC:\Program Files
andC:\Program Files (x86)
. Right-click on these folders, select "Properties", go to the "Security" tab. Edit permissions to deny write access to non-administrative users or specific groups.
Openregedit
and navigate toHKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
. Adjust permissions to restrict write access to this registry key to prevent unapproved uninstallations.