Microsoft Edge Deployment Error – Unmatched exit code (1)

Prajwal Desai
Posted by Prajwal Desai

Starting with Configuration Manager 1910, you can use the Create Microsoft Edge application feature to deploy the new browser. Edge is out of preview and yes there is a stable version of Edge for enterprise.

Microsoft Edge is ready for business and you can use the below guides to deploy Edge to your enterprise systems using SCCM 1910. In addition to that you can also manage Edge updates using SCCM.

When you create an Edge application, it is essentially a PowerShell script that installs Edge browser. However the Edge installation may fail and you may see the following error message.

  • Software Center: 0x1(1)
  • AppEnfore.log: Unmatched exit code (1) is considered an execution failure.

Microsoft Edge Deployment Error - Unmatched exit code (1)

If you open AppEnforce.log file on the client computer, you notice Unmatched exit code (1) is considered an execution failure. With that error, you may not know why it actually failed unless you have already dealt with such errors before.

Microsoft Edge Deployment Error - Unmatched exit code (1)

The Edge deployment fails with above error because by default, PowerShell restricts running scripts on end user PCs. The execution policy helps users to set basic rules and prevents them from violating them unintentionally. You can read more about Execution Policies here.

Microsoft Edge Deployment Error – Unmatched exit code (1)

During Microsoft Edge deployment, if you notice Unmatched exit code (1) error follow these steps :-

  • Launch Configuration Manager Console.
  • Go Software Library > Application Management > Applications.
  • Select Microsoft Edge application and in the Deployment Types Tab, right click Edge deployment and click Properties.

Edge Deployment Properties

This opens the Edge deployment type properties window. In the installation program box, add -ExecutionPolicy Bypass right after PowerShell (refer the below screenshot). Click OK. If you have 32-bit edge application, you must also add the same command.

Edge Deployment Properties

Since you have modified the application properties, you must update the content.

Update Edge Application Content

After updating the content, launch the Software Center. Select Microsoft Edge and click Install.

Microsoft Edge Deployment Error Snap6

Now the Microsoft Edge deployment works without any errors.

Microsoft Edge Deployment Error Snap7

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
9 Comments