Exchange Server 2010 EMC WinRM Error on Startup

So you installed a fresh copy of Exchange Server 2010 and cannot seem to connect to the Exchange server via EMC. Instead you receive the following error:

Connecting to remote server failed with the following error message: The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic

In order to resolve this you need to add an entry to the ApplicationHost.config file located at C:\Windows\System32\Inetsrv\config\ApplicationHost.config. First of all you need to make sure the entry does not exist, if not then go ahead and add it. Of course if the entry exists then we are probably dealing with a different error.

Add the following entry to the end of the <globalModules> section:

<add name="WSMan" image="C:\Windows\system32\wsmsvc.dll" />