Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Facebook Twitter Instagram
Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Tech News Today
Home»Windows»How To Fix “The System Administrator Has Set Policies To Prevent This Installation”

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

AnupBy AnupApril 18, 2022
the system administrator has set policies to prevent this installation

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.

Table of Contents

  • What Causes This Error
  • How to Fix This Error
    • Install From Default Admin Account
    • Set UAC to Never Notify
    • Modify Windows Installer Policy Setting
    • Delete Product Key via Registry Editor
    • Disable Third-Party Antivirus
  • Related Questions
    • How to Enable GPEDIT on Windows Home Edition?
    • The System Administrator Has Set Policies To Prevent This Installation on Windows 10 S Mode. How to Fix?

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.

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
  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.

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:

  1. Right-click the antivirus’ icon from the taskbar and select Turn off Protection or Disable.
    turn-off-antivirus-real-time-protection
  2. 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.
  3. Once it’s disabled, check if you can install without any issues now.
  4. 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.

Related Questions

How to Enable GPEDIT on Windows Home Edition?

Windows Home Edition is intended for use by a casual user. As such, certain features such as the Local Group Policy Editor are not accessible by default. But there are still ways to enable it.

You can enable gpedit specifically by executing the following code in an elevated command prompt window:

  • FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~.mum") DO ( DISM /Online /NoRestart /Add-Package:"%F")
  • FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")

The System Administrator Has Set Policies To Prevent This Installation on Windows 10 S Mode. How to Fix?

S Mode is a variation of Windows that intends to optimize lower-end devices in terms of performance and security. To accomplish this, S Mode only allows the installation of apps from the Microsoft Store. Thus, attempting to install programs from outside the Microsoft Store can lead to this or similar issues.

The only way to resolve the issue in the case is to switch out of S mode. But keep in mind that this change is permanent, and you won’t be able to switch back to S mode afterward.

fix Windows
Anup

I used to be a travel writer. Then I took an arrow in the knee.

Related Posts

change drive letter windows 10 11

How To Change A Drive Letter On Windows 10 Or 11

June 8, 2022
how to retrieve google backup photos

How to Retrieve Google Backup Photos

June 8, 2022
disable touch screen windows 11

How to Disable the Touchscreen on Windows 11?

June 8, 2022
enable virtualization windows 11

How to Enable Virtualization on Windows 11

June 7, 2022
how-to-open-file-location-on-windows-11-1

How to Open File Location on Windows 11

June 7, 2022
hibernate windows 11

How to Enable Hibernate in Windows 11?

June 7, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
fighting-games

11 Best Fighting Games on Steam

June 8, 2022
what-is-the-blue-circle-on-my-samsung

What Is the Blue Circle on My Samsung

June 8, 2022
should-i-use-wd-discovery

What Is WD Discovery? Should I Use It?

June 8, 2022
You may also like
how-to-clear-other-storage-on-iphone

How to Clear Other Storage on iPhone?

June 8, 2022
change drive letter windows 10 11

How To Change A Drive Letter On Windows 10 Or 11

June 8, 2022
how to reset imac without password

How to Reset iMac Without Password

June 8, 2022
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

October 25, 2021
Facebook Twitter Pinterest
  • Home
  • About Us
  • Privacy Policy
  • Affiliate Disclosure
© 2022 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.