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.

After you upgrade to Exchange Server 2010 Service Pack 1 or Service Pack 2, the Exchange Management Shell is missing


View products that this article applies to.

Symptoms

After you upgrade a computer that is running Microsoft Exchange Server 2010 to Exchange Server 2010 Service Pack 1 or Service Pack 2, the Exchange Management Shell is missing from the program options. Additionally, the .ps1 script files that are associated with the Exchange Management Shell may be missing.

↑ Back to the top


Cause

This problem can occur if there is a missing value in the registry when Setup is run for AdminToolsRole. The missing registry value is as follows:
Path: HKEY_LOCAL_MACHINE\Software\Microsoft\ExchangeServer\v14\Admin Tools
Value: ConfiguredVersion

Status

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

Microsoft regularly releases software updates to address specific problems. If Microsoft releases a software update to resolve this problem, this article will be updated with additional information.


↑ Back to the top


Workaround

To resolve this issue, follow these steps:
  1. Verify that the following files are present in the %ExchangeInstallPath%\bin directory:�
    • CommonConnectFunctions.ps1
    • Connect-ExchangeServer-help.xml
    • ConnectFunctions.strings.psd1
    • RemoteExchange.strings.psd1
    • CommonConnectFunctions.strings.psd1
    • ConnectFunctions.ps1
    • RemoteExchange.ps1
  2. If any of these files are missing, copy the files from the Exchange Server 2010 Service Pack 1 installation media to the %ExchangeInstallPath%\bin directory.

    Note�These files are present in the \Setup\Serverroles\Common folder.�
  3. Click Start, click Run, type regedit, and then click OK.
  4. Locate and then right-click the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\ExchangeServer\v14\Admin Tools

  5. Click New, click String Value, and then type ConfiguredVersion.
  6. Double-click�ConfiguredVersion, and then type 14.2.247.5.

    Note
    �This value should match the UnpackedVersion value. This value is found in the same key.
  7. Click Start, click Administrative Tools, right-click Windows PowerShell Modules, click Send to, and then click Desktop (as shortcut).
  8. Right-click the new shortcut that you created on the desktop, and then click�Properties.
  9. In the�Target�path�on the�Shortcut�tab, replace the text with the following text:

    C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto"

    Note�If the Windows root drive or the Exchange installation folder or drive name differs from the default that is specified in the example, you have to change the path accordingly
Warning�If you manually created shortcuts for the Exchange Management Shell before you installed or updated the server, you may have to repeat these steps to correctly target the Exchange Management Shell path.

↑ Back to the top


Keywords: KB2397266, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2397266
Revision : 7
Created on : 7/24/2013
Published on : 7/24/2013
Exists online : False
Views : 548