The Windows PowerShell snap-in Microsoft.Exchange.Management.PowerShell.E2010 is not installed on this machine

0

Saw a weird issue on an Exchange 2010 Server last week.

Whenever someone tried to start the Exchange Management Shell, it came with the following error:

The Windows PowerShell snap-in Microsoft.Exchange.Management.PowerShell.E2010 is not installed on this machine

For some reason the Exchange Management Console works fine.

But whenever the Exchange Management Shell is trying to be loaded or other 3. party products, such as TSM in our case, want to use the Exchange Management Shell, they get the error:

The Windows PowerShell snap-in Microsoft.Exchange.Management.PowerShell.E2010 is not installed on this machine

I tried to load the Exchange 2010 Management Shell snap-in manually from PowerShell, but still got same error:

image

After some research I found that in the Registry under HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1PowerShellSnapIns – The Microsoft.Exchange.Management.PowerShell.E2010 was missing:

image

I then double checked with another Exchange 2010 server and could confirm that the following keys was missing under PowerShellSnapIns:

  • Microsoft.Exchange.Management.PowerShell.E2010
  • Microsoft.Exchange.Management.Powershell.Support

I imported the following Registry Keys (exported from another Exchange 2010 server, without these issues):

That solved the problem!

Now Exchange Management Shell snap-in could be loaded.

Also thanks to blog post from Joe Trombley for guiding me in the right way.

About Author

Peter is an Exchange specialist with over 15+ years of experience with Exchange Server and certified Microsoft Certified Master (MCM) and Microsoft Certified Solutions Master (MCSM) on Exchange Server. He has been awarded the Microsoft MVP award, every year since 2007. He is active in the Microsoft community and User Group Leader for CoLabora (a danish UC & Cloud User Group). He works as an Cloud & Infrastructure Architect and Consulent, with primary focus on Exchange, Office 365, Azure and Skype for Business.

Comments are closed.

Copyright 2005-2015 - Peter Schmidt.