Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
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 AnupDecember 17, 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

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.
fix Windows
Anup

Anup has been tinkering with PCs for over 15 years and writing professionally for almost 5. At Tech News Today, he mainly covers Windows systems, Linux, networking, and hardware-related topics.

Related Posts

start menu wont open

Start Menu Won’t Open? 7 Ways to Fix it

January 13, 2023
motherboard-audio-not-working

Motherboard Audio Not Working? Try These Fixes

January 13, 2023
empty recycle bin for all users

How to Empty Recycle Bin for All Users on Windows

January 10, 2023
how to change background on teams

How to Change Background on Teams

January 9, 2023
how-to-stop-screen-from-turning-off

How to Keep Your Stay Screen On for Longer Time

January 9, 2023
how to test call on teams

How to Test Call on Teams

January 7, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what is ghost of tsushima legends

What is the Ghost of Tsushima Legends Mode

January 12, 2023
raid 5 vs raid 10

RAID 5 Vs RAID 10 – Which One Is Better?

January 12, 2023
best-tv-settings-for-gaming

Best TV Settings for Gaming

January 9, 2023
You may also like
tv-screen-goes-black-randomly

TV Screen Goes Black Randomly? Try These 11 Fixes

January 15, 2023
how to find unique values in excel

How to Find Unique Values in Excel

January 15, 2023
how-to-open-and-use-chrome-settings

How to Open and Use Chrome Settings

January 16, 2023
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)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Editorial Guidelines
  • Fact-Checking Policy
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

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