Exchange 2013 SP1 Setup Fails – PowerShell Execution Policy Prerequisite Failure

Just done a clean install of Exchange 2013 SP1 and the prerequisite check fails with an error relating to the PowerShell Execution Policy.

The Root Cause

The Exchange setup stops the WMI service and the WMI service is required to query Active Directory. If the PowerShell Execution Policy is defined using a Group Policy object then the Exchange setup will not be able to verify the execution policy so setup fails.

The Fix

Temporarily disable the PowerShell Execution Policy using the Group Policy Management Editor.

  • Open the Group Policy Management console.
  • Navigate to the Default Domain Policy node and select Edit.

This opens the Group Policy Management Editor.

  • Navigate to Computer Configuration # Policies # Administrative Templates # Windows Components # Windows PowerShell.
  • In the details pane ensure the Turn on Script Execution is set to Not Configured.
  • On the Exchange server run GPUpdate /force.
  • Rerun Exchange setup.
  • Once the Exchange install is complete, re-enable the PowerShell Execution Policy Group Policy object to its previous setting.

http://support.microsoft.com/kb/2810617 for more information.