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.

An application cannot impersonate a user and then run Windows PowerShell commands in an Exchange Server 2007 environment


View products that this article applies to.

Symptoms

When an application tries to impersonate a user programmatically and then run Windows PowerShell commands in a Microsoft Exchange Server 2007 environment, Exchange Server 2007 blocks the call.

↑ Back to the top


Resolution

To resolve this problem, install Update Rollup 1 for Exchange Server 2007 Service Pack 1. For more information about Update Rollup 1 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic: For more information about how to install the latest Exchange service pack or update rollup, see the following Exchange Help topic:Note For the impersonation to work, the -DomainController switch must be used in the Windows PowerShell command option. The -DomainController switch is available only after Exchange Server 2007 SP1 is installed.

↑ Back to the top


Workaround

To work around this problem, create a new process that has the necessary credentials. Then, run the Windows PowerShell command in the new process.

↑ Back to the top


More information

For more information about software update terminology, 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 about the naming schema for Exchange Server software updates, click the following article number to view the article in the Microsoft Knowledge Base:
817903� New naming schema for Exchange Server software update packages

↑ Back to the top


Keywords: KB943937, kbhotfixserver, kbhotfixrollup, kbqfe, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 943937
Revision : 4
Created on : 2/29/2008
Published on : 2/29/2008
Exists online : False
Views : 313