You may encounter a “HTTP error status 500″ error connecting to Exchange Server 2010 with either the Exchange Management Console or the Exchange Management Shell. The full error message is:
Connecting to remote server failed with the following error message : The WinRM client
received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) , PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionOpenFailed
The System event log may contain the following event details corresponding to the connection attempt:
Log Name: System
Date: 12/08/2010 4:45:48 PM
Event ID: 10113
Task Category: None
Request processing failed because the WinRM service cannot load data or event source: DLL=”%ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll”
Please check if “%ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll” exists.
Loading %ExchangeInstallPath%Bin\Microsoft.Exchange.AuthorizationPlugin.dll failed with error=”126″ (%%126).
This can occur when the Exchange server does not have an %ExchangeInstallPath% system variable set. To resolve the error manually add the missing system variable.
Make sure you include the trailing backslash in the path.
After adding the system variable restart the server. You should now be able to connect to the Exchange server with the management tools.