Exchange 2007 SP3 & Windows 2008 R2 x64 - cannot open Exchange Management Shell
It was my understanding that Exchange 2007 SP3 was now supported on Windows 2008 R2 x64 but I have a fresh installation of both and when trying to run the Exchange Management Shell I get the following error. "Internal Windows PowerShell error. COM initialization failed while reading Windows PowerShell console file with error 80010106." The shortcut path is: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\bin\Exchange.ps1'" Right-click, Run As Administrator on the shortcut makes no difference. If I browse to and launch "C:\Program Files\Microsoft\Exchange Server\Bin\exshell.psc1" directly I get exactly the same error message. If I launch Powershell manually and then run.. Add-PSSnapin Microsoft.Exchange.Management.PowerShell.admin Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Support I can run Exchange Powershell cmdlets without any problems?! Any ideas what could be causing this? I've compared exshell.psc1 with the same file on a (working) Server 2003 x64 box and the files are identical. No error messages of any kind in the Event Logs - I'm a bit stumped! Any advice would be really appreciated, I've been tearing my hair out for the last few hours on this. Someone had a similar problem with the Exchange Management Shell on Windows 7 64bit at http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_25481660.html but there's no real fix listed.
September 5th, 2010 5:10pm

Well it looks like this is more Powershell related than Exchange 2007. If I open Powershell and "export-console .\test.psc1" and then try and open that console file, I get exactly the same error message.. so something is screwy with Powershell.. I'll post there instead.. no idea what can be done to fix it tho considering Powershell is 'bundled' with 2008 R2.
Free Windows Admin Tool Kit Click here and download it now
September 5th, 2010 6:18pm

Just in case anyone else ever has this problem.. I found the cause. http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/ecf0a798-46d5-4925-8174-4f47dd5d332e If you change the 'Number of recent items to display in jump lists' to 0 under the Start Menu Properties / Customize it will cause Windows Powershell to fail to open with the COM initialization error message whenever you're opening a 'Console File' / .psc1 file. A ridiculous issue but I can reproduce the problem by changing it to 10 and then back to 0.. works / fails every time.
September 5th, 2010 7:45pm

Can you try uninstalling and reinstalling it?
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2010 10:08am

Can you try uninstalling and reinstalling it?
September 20th, 2010 5:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics