如果当您尝试在 Windows 10 或 Windows 11 PC 上安装软件(包括驱动程序)时遇到错误 1625,系统策略禁止此安装(Error 1625, This installation is forbidden by system policy),那么您来对地方了!在这篇文章中,我们将提供最合适的解决方案,您可以立即尝试解决问题。
完整的错误消息是这样读的;
This installation is forbidden by system policy. Contact your administrator.
如果Windows 组策略(Windows Group Policy)或用户帐户控制(User Account Control)( UAC ) 阻止管理员访问当前安装,您很可能会遇到此错误。
如何修复安装错误?
一般来说,您需要确保您拥有适当的权限,安装程序(Installer)、安装程序(Setup)或ISO文件没有损坏,有足够的磁盘空间等等。
错误 1625,系统策略禁止此安装
如果您遇到此错误 1625,系统策略问题禁止此安装(Error 1625, This installation is forbidden by system policy) ,您可以尝试以下我们推荐的解决方案(不分先后顺序),看看是否有助于解决问题。
- 禁用用户帐户控制 (UAC)
- 编辑(Edit Group Policy)Windows Installer的组策略设置
- 修改本地安全策略设置(Modify Local Security Policy Settings)
- 启用 Windows 安装程序服务
- 修改注册表
让我们看一下关于列出的每个解决方案所涉及的过程的描述。
在尝试以下任何解决方案之前,请以管理员权限运行安装程序并查看问题是否已解决。还可以尝试禁用系统上的防火墙,看看是否有帮助。如果您的 PC 是公司发行的,您可能不需要尝试这些解决方案 - 只需联系您的 IT 管理员即可。
1]禁用用户帐户控制(Disable User Account Control)(UAC)
由于此错误 1625,系统策略禁止此安装(Error 1625, This installation is forbidden by system policy)可能是UAC问题,您可以暂时禁用 UAC并查看问题是否已解决。如果没有,请尝试下一个解决方案。
2]编辑(Edit Group Policy)Windows Installer的组策略设置
请执行下列操作:
- 按Windows key + R。
- 在 Run 对话框中输入gpedit.msc并按 Enter打开 Local Group Policy Editor。
- 在本地组策略编辑器(Local Group Policy Editor)中,使用左窗格导航到以下路径:
Computer Configuration > Administrative Templates > Windows Components > Windows Installer
- 在右侧窗格中,双击关闭 Windows Installer(Turn off Windows Installer) 条目以编辑其属性。
- 在属性窗口中,将单选按钮设置为Not Configured。
- 单击应用(Apply )>确定(OK)退出属性窗口。
- 接下来,仍然在右窗格中,双击 禁止非管理员应用供应商签名的更新(Prohibit non-administrators from applying vendor signed updates)条目以编辑其属性。
- 在属性窗口中,将单选按钮设置为Disabled。
- 单击应用(Apply )>确定(OK)退出属性窗口。
- 退出组策略编辑器。
现在,再次尝试安装软件,看看它是否成功完成。否则(Otherwise),请尝试下一个解决方案。
3]修改本地安全策略设置(Modify Local Security Policy Settings)
请执行下列操作:
- 按Windows key + R。
- 在运行对话框中键入secpol.msc 以打开 本地安全策略编辑器。(Local Security Policy Editor.)
- 在左侧窗格中,选择 安全设置(Security Settings) 下 的软件限制策略(Software Restriction Policies)。未定义软件限制策略(No Software Restriction Policies Defined)将显示在右侧窗格中。
- 接下来,单击Action菜单并选择New Software Restriction Policies。
- 接下来,双击右侧窗格中的Enforcement条目以编辑其属性。
- 现在,在将软件限制策略应用于以下用户(Apply software restriction policies to the following users)部分下,选择除本地管理员以外的所有用户(All users except local administrators )选项的单选按钮。
- 单击应用(Apply)>确定(OK)。
- 退出本地安全策略编辑器。
查看软件安装是否已解决。如果是后者,请尝试下一个解决方案。
4]启用Windows安装程序服务
如果您在安装任何软件时遇到问题,则可能是MSI服务未启用。在这种情况下,请确保启用了 Windows Installer 服务(Windows Installer Service is enabled)。如果不是这种情况,并且问题仍然存在,请尝试下一个解决方案。
5]修改注册表
由于这是注册表操作,建议您备份注册表(back up the registry) 或 创建系统还原点作为必要的预防措施。完成后,您可以执行以下操作:
- 按Windows key + R。
- 在“运行”对话框中,键入regedit并按 Enter 以打开注册表编辑器(open Registry Editor)。
- 导航或跳转到下面的注册表项路径:
HKLM\Software\Policies\Microsoft\Windows\Installer
- 在该位置的右窗格中,双击DisableMSI 条目以编辑其属性。
如果该键不存在,请右键单击右侧窗格中的空白区域,然后选择新建(New)> DWORD(32 位)值(DWORD (32-bit) Value) 以创建注册表项,然后将该键重命名为DisableMSI ,然后 按 Enter。
- 双击(Double-click)新条目以编辑其属性。
- 在值(V)数据(alue data)字段中输入0 。
- 单击确定(OK)或按 Enter 保存更改。
- 退出注册表编辑器。
- 重新启动计算机。
现在应该解决这个问题。
希望这可以帮助!
如何修复Windows 安装程序(Windows Installer)包?
要修复Windows安装程序包,在某些情况下可以通过重新启动Windows PC 来完成。此操作可以修复各种问题,包括此 Windows Installer 程序包(there is a problem with this Windows Installer package)错误或Windows Installer 无法正常工作(Windows Installer not working properly)问题。
相关帖子(Related post):系统策略禁止安装此设备。(The installation of this device is forbidden by system policy.)
Fix Error 1625, This installation is forbidden by system policy
If when you attempt to install a software, including drіvers on уour Windows 10 or Windows 11 PC and you encounter the Error 1625, This installation is forbidden by system policy, then you’re at the right place! In this post, we will provide the most suitable solutions you can try to resolve the issue in no time.
The full error message reads thus;
This installation is forbidden by system policy. Contact your administrator.
You’re most likely to encounter this error if a Windows Group Policy or User Account Control (UAC) is blocking the administrator access to the current installation.
How do I fix a Setup error?
Generally speaking, you need to ensure that you have the proper permissions, the Installer, Setup or ISO file is not corrupted, there is enough disk space, and so on.
Error 1625, This installation is forbidden by system policy
If you’re faced with this Error 1625, This installation is forbidden by system policy issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue.
- Disable User Account Control (UAC)
- Edit Group Policy settings for Windows Installer
- Modify Local Security Policy Settings
- Enable Windows Installer Service
- Modify the Registry
Let’s take a look at the description of the process involved concerning each of the listed solutions.
Before you try any of the solutions below, run the installer with admin privilege and see if the issue is resolved. Also try disabling the firewall on your system and see if that helps. And if your PC is company-issued, you may not need to try the solutions – simply contact your IT admin.
1] Disable User Account Control (UAC)
As this Error 1625, This installation is forbidden by system policy might be a UAC issue, you can temporarily disable UAC and see if the issue is resolved. If not, try the next solution.
2] Edit Group Policy settings for Windows Installer
Do the following:
- Press Windows key + R.
- In the Run dialog box type gpedit.msc and hit Enter to open Local Group Policy Editor.
- Inside the Local Group Policy Editor, use the left pane to navigate to the path below:
Computer Configuration > Administrative Templates > Windows Components > Windows Installer
- On the right pane, double-click on Turn off Windows Installer entry to edit its properties.
- In the properties window, set the radio button to Not Configured.
- Click Apply > OK to exit the properties window.
- Next, still on the right pane, double-click on Prohibit non-administrators from applying vendor signed updates entry to edit its properties.
- In the properties window, set the radio button to Disabled.
- Click Apply > OK to exit the properties window.
- Exit Group Policy Editor.
Now, try installing the software again and see if it completes successfully. Otherwise, try the next solution.
3] Modify Local Security Policy Settings
Do the following:
- Press Windows key + R.
- In the Run dialog box type secpol.msc to open the Local Security Policy Editor.
- In the left pane, select Software Restriction Policies under Security Settings. The No Software Restriction Policies Defined will be displayed on the right pane.
- Next, click the Action menu and select New Software Restriction Policies.
- Next, double-click the Enforcement entry in the right pane to edit its properties.
- Now, select the radio button for All users except local administrators option under Apply software restriction policies to the following users section.
- Click Apply > OK.
- Exit Local Security Policy Editor.
See if the software installation is resolved or not. If the latter is the case, try the next solution.
4] Enable Windows Installer Service
If you’re having the issue installing any software, it’s likely that the MSI service is not enabled. In this case, ensure that the Windows Installer Service is enabled. If this is not the case, and the issue persists, try the next solution.
5] Modify the Registry
Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
- Press Windows key + R.
- In the Run dialog box, type regedit and hit Enter to open Registry Editor.
- Navigate or jump to the registry key path below:
HKLM\Software\Policies\Microsoft\Windows\Installer
- At the location, on the right pane, double-click the DisableMSI entry to edit its properties.
If the key is not present, right-click on the blank space on the right pane and then select New > DWORD (32-bit) Value to create the registry key and then rename the key as DisableMSI and hit Enter.
- Double-click on the new entry to edit its properties.
- Input 0 in the Value data field.
- Click OK or hit Enter to save the change.
- Exit Registry Editor.
- Restart computer.
The issue should be fixed now.
Hope this helps!
How do I repair Windows Installer package?
To repair Windows installer package, in some cases can be done by restarting your Windows PC. This action can fix a variety of problems, including there is a problem with this Windows Installer package error or the Windows Installer not working properly issue.
Related post: The installation of this device is forbidden by system policy.