< -- BuySellAds Ad Code ALLEN -->
  • Home
  • Microsoft
  • Exchange 2010
  • The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received An Http Server Error Status (500)
The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received And Http Server Error Status (500)

The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received An Http Server Error Status (500)

After upgrading a Server 2008 server recently that was running Exchange 2010 I came across this error.

The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received An Http Server Error Status (500)

There are a few variations of the message also namely this one below.

The attempt to connect to http://server.domainname.com/powershell using “kerberos” authentication failed:Connecting to  remote server failed with the following message:The WinRm client cannot  process the request.It cannot determine the content type pf the HTTP response from the destination computer. The content type is absent or invalid.
The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received And Http Server Error Status (500)

The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received And Http Server Error Status (500)

This is down to the WinRM client becoming corrupt. This is an easy fix to do via the exchange powershell console. do the following.

We first need to enable to server manager plug in. To do so run this command

Import-Module ServerManager

Then run this command te remove the service.

Remove-WindowsFeature WinRM-IIS-Ext

Remove-WindowsFeature WinRM-IIS-Ext

Then we need to reinstall WinRm. To do so run this command as seen below.

Add-WindowsFeature WinRM-IIS-Ext
Add-WindowsFeature WinRM-IIS-Ext

Add-WindowsFeature WinRM-IIS-Ext

You will now find that you can launch the Exchange Management console without any issues, View to video below for a full step by step guide on fixing the “The Attempt To Connect To Powershell Using Kerberos Authentication Failed The WinRM Client Received And Http Server Error Status (500) ” issue.

 



Tags: emc error 500

Allen White

Allen is an IT Consultant and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5, 6 and HP ASE, AIS - Network Infrastructure.

Comments (8)

  • Avatar

    Horatio

    |

    I ran those codes and I am still getting the same error message. I even get that error message in the exchange management shell. Any other tricks to fixing it?

    Reply

  • Avatar

    JoshB

    |

    I got this error after upgrading 2008R2 Std to Enterprise. Your fix resolved my issue. Thank you.

    Reply

    • Avatar

      Allen White

      |

      Glad to help josh…just a note, MS do NOT support exchange 2010 when it is on a server that has been upgraded from 2008 standard to to 2008 enterprise .So if you ever log a support call to MS then it my be wise to “forget” thats happend 😉

      Reply

      • Avatar

        Ayo

        |

        This worked for me as well thank you. I just upgraded to Enterprise Server 2008 R2 from Standard and got the error. Thank you

        Reply

  • Avatar

    Leneesh Thoppil Ravi

    |

    Hi
    I follow your steps I am getting after the command, please see below Error

    New-PSSession : Cannot bind parameter ‘ConnectionUri’. Cannot convert value “http:///powershell?serializationLevel=Full
    ;ExchClientVer=14.1.218.15” to type “System.Uri”. Error: “Invalid URI: The hostname could not be parsed.”
    At line:1 char:29
    + New-PSSession -ConnectionURI <<<< "$connectionUri" -ConfigurationName Microsoft.Exchange -SessionOption $so
    + CategoryInfo : InvalidArgument: (:) [New-PSSession], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand

    Reply

  • Avatar

    knottyrope

    |

    fix wont work if your time is off on exchange server from your DC

    Reply

  • Avatar

    Rab

    |

    Nice one mate – not often you just paste something in from the internet and it just fixes it. ESPECIALLY not with exchange. well done!

    Reply

  • Avatar

    Pete

    |

    I had this issue and realised exchange was still trying to contact decommissioned dc. i was going to try this but first checked ip info, primary dns was set to old dc, amended that, restarted exchange ad topology services and bingo, i was back in. hope this helps someone.

    Reply

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...