Exchange Management Console pointing to a wrong server “The attempt to connect to http://srv.domain.com/PowerShell using ‘Kerberos authentication failed'”

I came across this error during an Exchange deployment in one of the Universities of Canada :). The EMC would not connect:

“The attempt to connect to http://server.domain.com/PowerShell using “Kerberos” authentication failed: connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified. Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. For more information, see the about_Remote_Troubleshooting Help topic.”

There are some blog posts on the internet around how to fix the connectivity problem to the server, but none of them were working in my case.

In my situation, the server EMC was pointing to the server that didn’t come back after reboot (but this is another story). EMC would connect fine to a different working server.

As a workaround I’ve added a “new” Exchange forest and was managed to connect, but I wanted to actually fix the issue.

So, the solution is simple :).

Close EMC

Execute the following commands (in CMD):

Now, the EMC correctly rediscover an active Exchange server..

Written by Misha Hanin

Trusted Business & Technology Advisor, Solutions Managing Director & Senior Solutions Architect at iRangers International Inc. with more than 25 years of experience in the field of information technology, infrastructure analysis and design, implementing innovative and leading technologies for International companies around the globe in public and private sectors.

Over the years I was able to develop very strong technical and engineering skills which helped me to earn trusted advisor status with our clients. As one of the nearly 500 trained Microsoft Certified Masters (MCM) in The World (during 10 years existence of MCM program, just about 500 people in The World participated in this very intensive training), I have a winning track record in building and bringing projects to operational and measurable success.

I am honored to have been awarded Microsoft Most Valuable Professional (MVP). This award is given to "exceptional, independent community leaders who share their passion, technical expertise, and real-world knowledge of Microsoft products with others."