Exchange 2016 – WinRM connection fails when opening Exchange Management Shell

While opening the Exchange Management Shell on an Exchange 2016 server it failed to connect to any of the servers in the environment, giving the following error:

Connecting to remote server failed with the following error message : The WinRM client cannot process the request because the server name cannot be resolved.

WinRM error

Naturally the first thing to check would be DNS, as it says the server names can’t be resolved, but this all checked out OK (I was able to resolve names in a command prompt using nslookup without issue).

Eventually I determined that the issue was caused by a misconfigured proxy server, which I found by running the following command:

netsh winhttp show proxy

Then I reset it using the following command:

netsh winhttp reset proxy
[BlogBookmark] [Blogsvine] [] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]