DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2668686 - Last Review: November 9, 2012 - Revision: 2.0

Symptoms

Consider the following scenario:
  • You install Microsoft Exchange Server 2010 or Microsoft Exchange Server 2010 Service Pack 1 (SP1).
  • You use the Group Policy Management Console (GPMC) or the Local Group Policy Editor (Gpedit.msc) to create a Group Policy Object (GPO) or a local policy .
  • The GPO or the local policy sets the Windows PowerShell Execution policy to a status other than Undefined.
  • You install Microsoft Exchange Server 2010 Service Pack 2 (SP2).
In this scenario, the installation fails, and you receive an error message that resembles the following:
The following error was generated when "$error.Clear();
& $RoleBinPath\ServiceControl.ps1 EnableServices Critical
" was run: "AuthorizationManager check failed.".
AuthorizationManager check failed.

When this error occurs, Exchange Server 2010 does not work and is not listed in Add or Remove Programs. Additionally, you cannot reinstall Exchange Server 2010.

Cause

This issue occurs because the Windows Management Instrumentation (WMI) service is stopped during the installation process. Therefore, the ServiceControl.ps1 Windows PowerShell script that runs as part of the Exchange Server 2010 SP2 installation process cannot call the WMI service to verify the execution permissions.

Resolution

To resolve this issue, follow these steps:
  1. Recover the server that is running Exchange Server 2010. For more information about how to recover a server that is running Exchange Server 2010, visit the following TechNet website:
    http://technet.microsoft.com/en-us/library/dd876880.aspx (http://technet.microsoft.com/en-us/library/dd876880.aspx)
  2. Use the GPMC or the Gpedit.msc to turn off the GPO or the local policy.
  3. Install Exchange Server 2010 SP2.
  4. Set the execution policy for the LocalMachine scope to RemoteSigned. To do this, run the following cmdlet:

    Set-ExecutionPolicy RemoteSigned -scope LocalMachine

More information

To verify the execution policies before you begin the installation, 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 RemoteSigned
If any of the following scopes are set to a status other than Undefined, refer to the steps in the "Resolution" section before you install Exchange Server 2010 SP2:
  • MachinePolicy
  • UserPolicy
  • Process
  • CurrentUser

If the LocalMachine scope is set to Undefined, you may receive an error message that resembles the following when you start the Exchange Management Console (EMC):

Exception calling "GetSteppablePipeline" with "1" argument(s): "File C:\Program Files\Microsoft\Exchange Server\V14\RemoteScripts\ConsoleInitialize.ps1 cannot be loaded because the execution of scripts is disabled on this system.  Please see "get-help about_signing" for more details."

Additionally, you may receive an error message that resembles the following when you start the Exchange Management Shell (EMS):

The term 'Connect-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Note When this issue occurs, Exchange 2010 works as expected even though you cannot start the EMC or the EMS.

References

For information about an issue that can occur when you try to install Update Rollup 1 for Microsoft Exchange Server 2010, see the following article in the Microsoft Knowledge Base:
981474  (http://support.microsoft.com/kb/981474/en-us/ ) 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, see the following article in the Microsoft Knowledge Base:
2467565  (http://support.microsoft.com/kb/2467565/en-us/ ) 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

Applies to
  • Microsoft Exchange Server 2010 Standard
  • Microsoft Exchange Server 2010 Enterprise
  • Microsoft Exchange Server 2010 Service Pack 1
Keywords: 
kbsurveynew kbprb kbservicepack KB2668686
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support