Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Can't install an Exchange Server 2010 or Exchange Server 2013 update rollup or service pack when a Windows PowerShell script execution policy is defined in Group Policy


View products that this article applies to.

Symptoms

Consider the following scenario:

  • You define a Windows PowerShell script execution policy by applying a Group Policy Object, or you apply a local Group Policy.
  • You try to install a Microsoft Exchange Server 2010 or Microsoft Exchange Server 2013 update rollup or service pack.
  • The setup process fails after the Remove Exchange Files step is completed.
In this scenario, Exchange Server does not work on the affected server. Additionally, you cannot restart the setup process.

↑ Back to the top


Cause

This issue occurs because the required Windows Management Instrumentation (WMI) service stops during the installation process. The WMI service is needed to query Active Directory Domain Services (AD DS) to verify the Windows PowerShell script execution policy that must run as a part of the setup.

↑ Back to the top


Resolution

To avoid this issue, follow these steps: 
  • Disable the execution Group Policy by using the Group Policy Management Console (Gpmc.msc) or Local Group Policy Editor (Gpedit.msc). Group Policy objects for the execution Group Policy must be set to Undefined.
  • Install the Exchange Server 2010 or Exchange Server 2013 update rollup or service pack.
  • Re-enable the previously defined Windows PowerShell script execution policy in the Group Policy Management Console or Local Group Policy Editor.

    Note The issue that is described in the "Symptoms" section is resolved in Exchange Server 2010 SP3. In Exchange Server 2010 SP3 and later versions, the Windows PowerShell script execution policies are verified correctly. Therefore, you do not have to disable the script execution policies when you install an update rollup or service pack.
For more information about Exchange Server 2010 SP3, click the following article number to view the article in the Microsoft Knowledge Base:
2808208 Description of Exchange Server 2010 Service Pack 3

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

To verify the execution policies before you begin the installation process, run the following Windows PowerShell cmdlet:
Get-ExecutionPolicy -list

The output should resemble the following:
Scope ExecutionPolicy 
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Undefined
If any of the execution policies are set to a status other than Undefined, refer to the steps in the "Resolution" section before you install an Exchange Server update rollup or service pack.

For information about an issue that can occur when you run a setup and encounter an error, click the following article number to view the article in the Microsoft Knowledge Base:
2668686 Error message when you try to install Exchange Server 2010 SP2: "AuthorizationManager check failed"
For information about an issue that can occur when you try to install Update Rollup 1 for Microsoft Exchange Server 2010, go to the following article in the Microsoft Knowledge Base:
981474 You receive error 1603 when you try to install the Exchange Server 2010 RU1
For information about an issue that can occur when you try to install an update rollup for Microsoft Exchange Server 2010, go to the following article in the Microsoft Knowledge Base:
2467565 You cannot install an update rollup for Exchange Server 2010 with a deployed GPO that defines a PowerShell execution policy for the server to be updated

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2810617
Revision : 1
Created on : 1/7/2017
Published on : 2/25/2014
Exists online : False
Views : 394