How to fix the “System administrator has set policies to prevent this installation” error when installing some application on Windows server 2019, 2022

While installing an application, you got an error – The system administrator has set policies to prevent this installation. The application installation failed, and you wasn’t sure what polices were preventing the installation.

We hope the steps mentioned in this post will surely help you.

System administrator has set policies to prevent installation

To fix the error System administrator has set policies to prevent this installation:

You open the Run dialog box (Windows + R) => enter the command gpedit.msc

This brings up the Local Group Policy Editor.

Expand Computer Configuration > Administrative Templates > Windows Components Windows Installer.

On the right pane edit the policy setting – Turn off Windows Installer.

On the Turn off Windows Installer setting box, click Enabled. Under Options > Enabled Windows Installer – Click the drop-down and select Never.

Click Apply and OK.

In the group policy editor, expand Windows Settings > Security Settings > Software Restriction Policies. Right click Software Restriction Policies and click New Software Restriction Policies.

On the right pane, right click Enforcement and click Properties. In the Enforcement properties box, look for Apply software restriction policies to the following users.

Select All users except local administrators. Click Apply.

In ours case after performing the above steps, we did not see the error again.

Hopefully this article will be useful for you. Good luck !

On this page