Windows Installer

1625: The installation is forbidden by system policy

A policy on the client stopped Windows Installer from running the package. Check Windows Installer policy, AppLocker and the install context.

Exit code1625
NameERROR_INSTALL_PACKAGE_REJECTED
Logs to readAppEnforce.log, execmgr.log, MSI_verbose_log, Application_event_log

What 1625 means

Exit code 1625 means "This installation is forbidden by system policy. Contact your system administrator". Windows Installer read the package and then refused to install it because a policy does not allow it.

You see it in Software Center on a failed install and in the console under Monitoring > Deployments. On the client, AppEnforce.log shows the exit code. The reason is in the Application event log or in the policy logs, not in the SCCM logs.

Common causes

  • The install runs as a standard user, and policy does not let standard users install this package.
  • The Group Policy setting "Turn off Windows Installer" blocks installs.
  • AppLocker or a software restriction policy blocks the MSI.
  • Windows Defender Application Control or other security software blocks the package.
  • The MSI or a patch has a signature that the policy does not trust.

How to fix 1625

  1. Check the install context

    Open the deployment type and go to the User Experience tab. Look at "Installation behavior". If it is "Install for user", the MSI runs with the user's rights. Change it to "Install for system" if the software supports a machine-wide install.

  2. Read the event logs

    Open Event Viewer on the client. In the Application log, filter on the source MsiInstaller and read the events at the time of the failure.

    Then go to Applications and Services Logs > Microsoft > Windows > AppLocker > MSI and Script. A blocked package shows there with the rule that stopped it.

  3. Check the Windows Installer policy

    Run gpresult /h C:\Windows\Temp\gp.html on the client and open the report. Look under Computer Configuration > Administrative Templates > Windows Components > Windows Installer. Check "Turn off Windows Installer". If it is set to "Always", no MSI can install. Change the policy or exclude the client.

  4. Allow the package in AppLocker

    If AppLocker blocks the file, add a Windows Installer rule for it. A publisher rule works for a signed MSI. Content that SCCM runs sits in C:\Windows\ccmcache, so check whether your rules cover that folder for the account that installs.

  5. Test as SYSTEM

    Open a SYSTEM command prompt with PsExec and run the same command. If it works as SYSTEM and fails as the user, the policy only applies to users. Deploy for system.

Commands that help

Show recent AppLocker blocks for MSI files and scripts · PowerShell
Get-WinEvent -LogName 'Microsoft-Windows-AppLocker/MSI and Script' -MaxEvents 20 |
    Select-Object TimeCreated, Id, Message | Format-List
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.