After you install Exchange Server 2007 Service Pack 1, the Set-ExcecutionPolicy task causes an error message, and event ID 103 is logged

Article translations Article translations
Article ID: 949726 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You install Microsoft Exchange Server 2007 Service Pack 1 (SP1) on an Exchange Server 2007-based server.
  • You run the following command in the Exchange Management Shell:
    Set-ExecutionPolicy AllSigned
  • You close the Exchange Management Shell, and then you open the Exchange Management Shell again.
In this scenario, you receive an error message that resembles the following:
There were errors in loading the format data file: Microsoft.Exchange.Management.PowerShell.Admin, C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml : File skipped because of validation exception: "File C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml cannot be loaded. The contents of file C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml may have been tampered because the hash of the file does not match the hash stored in the digital signature. The script will not execute on the system. Please see "get-help about_signing" for more details..".
Additionally, the following event is logged in the Application log:

Event Type: Warning 
Event Source: PowerShell 
Event Category: (1) 
Event ID: 103 
Description: 
The description for Event ID ( 103 ) in Source ( PowerShell ) cannot be found. The local computer may not have the necessary registry  information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve  this description; see Help and Support for details. The following information is part of the event: There were errors in loading the  format data file:  
Microsoft.Exchange.Management.PowerShell.Admin, C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml : File skipped  because of validation exception: "File C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml cannot be loaded. The  contents of file C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml may have been tampered because the hash of the  file does not match the hash stored in the digital signature. The script will not execute on the system. Please see "get-help  about_signing" for more details..". 
;  ExceptionClass=RuntimeException 
 ErrorCategory=NotSpecified 
 ErrorId=ErrorsUpdatingFormats 
 ErrorMessage=There were errors in loading the format data file:  
Microsoft.Exchange.Management.PowerShell.Admin, C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml : File skipped  because of validation exception: "File C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml cannot be loaded. The  contents of file C:\Program Files\Microsoft\Exchange Server\bin\Exchange.format.ps1xml may have been tampered because the hash of the  file does not match the hash stored in the digital signature. The script will not execute on the system. Please see "get-help  about_signing" for more details..".
 
 Severity=Warning
 SequenceNumber=1
 HostName=ConsoleHost 
 HostVersion=1.0.0.0 
 HostId=6c87bf70-b149-4d78-8436-58aa1a40b2b8 
 EngineVersion= 
 RunspaceId= 
 PipelineId= 
 CommandName= 
 CommandType= 
 ScriptName= 
 CommandPath= 
 CommandLine=
AdditionalInfo: 
 Name=;Value= 
 Name=;Value= 
 Name=;Value=.

RESOLUTION

To resolve this problem, download and install Update Rollup 2 for Exchange 2007 Service Pack 1. For more information about Update Rollup 2 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 2 for Exchange Server 2007 Service Pack 1
For more information about how to install the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007

STATUS

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

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
817903 New naming schema for Exchange Server software update packages

Properties

Article ID: 949726 - Last Review: May 8, 2008 - Revision: 1.2
APPLIES TO
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
Keywords: 
kbexpertiseinter kbbug kbfix kbqfe kbhotfixrollup KB949726

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com