Saturday, August 18, 2012

The Exchange Management Shell is missing and how to recover


Hello Friends,

Recently i have installed Microsoft Exchange 2010 on Server 2008 R2 with fully updated OS, All configuration went well and tested all services,OWA, Microsoft Console, etc...

After all necessary Testing i have decided to Upgrade Exchange 2010 with Service pack 2, then suddenly Outlook Web Access Was not working properly with below error.

Error : 

Outlook Web App didn’t initialize. If the problem continues, please contact your helpdesk.
Couldn’t find a base theme (folder name=base)


Problem: After installing Service Pack 2 for Exchange Server 2010, the Exchange Management Shell is missing.
Cause: Missing certain .ps1 scripts from the bin directory, removed during SP2 setup.

Resolution: There is no resolution at this time.


Workaround:


1.
Verify that the ConnectFunctions.ps1 , RemoteExchange.ps1 and CommonConnectFunctions.ps1 files are present in the %ExchangeInstallPath%\bin directory.

NOTE : If these files are missing, you can copy the files from the Exchange Server 2010 Service Pack 1 installation media to the %ExchangeInstallPath%\bin directory.
These files are present in the \setup\serverroles\common folder.
2.
Right click an open area on the Desktop, click New , click Shortcut .
3.
In the Type the location of the item , type in the text below:
%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". '%ExchangeInstallPath%\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto"
4.
Name the shortcut Exchange Management Shell and click Finish .
5.
Right click the Exchange Management Shell shortcut, click Properties and remove the text from Start In field on the Shortcut tab.
6.
On the Shortcut tab, click Change Icon , click Browse and type in the text below:
%SystemRoot%\Installer\{4934D1EA-BE46-48B1-8847-F1AF20E892C1}\PowerShell.exe
7.
Select the Exchange icon and click OK .
8.
Click Apply and click OK .
9.
Copy the new Exchange Management Shell shortcut to this location:
%systemdrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Exchange Server 2010

Run this Command to fix Outlook Web Access Problem :

1) Open Exchange Management Shell and run Power shell script which is located on below path..
C:\Program Files\Microsoft\Exchange Server\V14\Bin\UpdateCas.ps1 


Good Luck...

No comments:

Post a Comment