What is “The System Administrator Has Set Policies To Prevent This Installation” and How To Fix it

The System Administrator Has Set Policies To Prevent This Installation is exactly what it sounds like. This error pops up when you try to make application-related changes, but the administrator has imposed a restriction policy about doing so.

Modifying the Windows Installer Configuration via the local group policy editor is the best way to solve this problem, but there are a number of other things you can try, in case that alone isn’t enough.

You’ll find all the details regarding the causes, and necessary solutions, in the article below.

How To Fix “The System Administrator Has Set Policies To Prevent This Installation”

What Causes This Error

As the name implies, this error occurs when a non-admin user attempts to install, uninstall, repair, or modify an application. On rare occasions, even an admin account may face this error. Aside from this, this error can also occur due to:

  • User Account Control (UAC)
  • Restrictive Antivirus
  • Residual data from uninstalled apps in the Registry

How to Fix This Error

Modifying the Windows Installer Policy Setting is the best fix for this issue, but there are a couple of simpler solutions you can try first. We recommend checking the fixes in the order listed below.

Install From Default Admin Account

An administrator account is created by default when you install an OS. As this account has full control of the system, it’s usually kept disabled for security reasons. But using it can be helpful for issues such as the current error. Here’s how you can enable it via the command line:

  1. Press Win + R, type cmd, and press CTRL + Shift + Enter.
  2. Type the following command and press Enter:
    net user administrator /active:yes
    net-user-administrator-active-yes
  3. Sign out of your current account and log in to the Admin account.
See also  How to Set Adobe Acrobat Reader as the Default PDF Viewer on Windows 11 in 3 Easy Steps

Alternatively, you can also enable it with the steps listed below. But make note that this method doesn’t work for the home edition of Windows.

  1. Press Win + R, type lusrmgr.msc, and press Enter. Note that this
  2. Double click on Users > Administrator.
  3. Uncheck the Account is Disabled option and press OK.
    account-is-disabled-administrator-properties
  4. Sign out of your current account and log in to the Admin account.

Once you’ve logged in, use the Run as Admin option when you launch the installer.

Set UAC to Never Notify

User Account Control (UAC)’s function is to ensure that applications don’t make any changes to the system without the user’s approval. Normally, it does this job well, but if it’s malfunctioning, it can restrict you from performing tasks such as installing programs.

In such cases, you can temporarily disable UAC with the following steps:

  1. Press Win + R, type useraccountcontrolsettings, and press Enter.
  2. Set the slider to Never Notify and Press OK.
    user-account-control-uac-never-notify

If you still can’t perform the installation, check out the solutions below first. But once the issue is resolved, we recommend setting UAC to the default setting, i.e., Notify me only when apps try to make changes to my PC for security reasons.

Modify Windows Installer Policy Setting

The error itself states that The System Administrator Has Set Policies To Prevent This Installation. Thus, modifying the policy settings to not prevent the installation will resolve the issue in most cases. Here are the steps to do so:

Note: By default, the local group policy editor is not accessible on Windows Home Edition. You’ll need to enable it first to apply the fix listed below. The steps to do so are listed in the How to Enable GPEDIT section at the end.

  1. Log in to an administrator account.
  2. Press Win + R, type gpedit.msc, and press Enter.
  3. Select Computer Configuration > Administrative Templates > Windows Components > Windows Installer.
  4. Double click the Turn off Windows Installer policy setting.
    turn-off-windows-installer
  5. Select Enabled. In the options section, select Never from the drop-down menu.
    disable-windows-installer-never
  6. Press OK to apply the changes.
  7. Back in the group policy editor, select Windows Settings > Security Settings.
  8. Right-click Software Restriction Policies and select New Software Restriction Policies.
  9. Double click Enforcement. Under Apply software restriction policies to the following users, select All users except local administrators, and press OK.
    apply-software-restriction-policies-to-all-users-except-local-admin-1
  10. Close the local group policy editor.
  11. Open Elevated Command Prompt and execute the following command:
    gpupdate /force
  12. Once the policy gets updated, re-run the installer.
See also  Simple Tasks in Windows 11 vs macOS Sonoma

Delete Product Key via Registry Editor

A Windows Installer 2.0 Bug can also cause this error message if you’re trying to reinstall or uninstall a previously installed application. This can be fixed by deleting the product’s key from the registry. Here are the exact steps to do this:

Note: We highly recommend backing up your registry before making any changes to it. Creating a system restore point is also a good idea, especially if you haven’t made one recently.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to Computer\HKEY_CLASSES_ROOT\Installer\Products\ in the registry editor.
  3. Click on a key to select it and note its product name. Repeat this until you find the product you’re trying to modify.
    delete-product-key-registry
  4. Once you find the one you’re looking for, right-click the key and select Delete.
  5. Close the registry editor and test if you can install/uninstall now.

Disable Third-Party Antivirus

A highly restrictive antivirus can interfere with your system’s normal functioning in various ways. In fact, this is one of the most common complaints when it comes to antiviruses. To check if the antivirus is causing this issue, you should temporarily disable it with the steps listed below:

Right-click the antivirus’ icon from the taskbar and select Turn off Protection or Disable.


turn-off-antivirus-real-time-protection

Alternatively, launch the antivirus app and select a similar option. This option will be found either on the home screen or under Settings > Advanced Settings.

Once it’s disabled, check if you can install without any issues now.

If the antivirus turns out to be the problem, you can either set more lenient rules, switch to a different antivirus, or just use Windows Defender.

See also  How to Fix ‘Bootmgr Is Missing’ Error in Windows 11
Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1721

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *