Windows 10 and Server 2012 R2 Server Manager – “WinRM Negotiate Authentication Error”

I encountered this his lovely error when wanting to setup a Hyper-V 2012 R2 lab as I did not want to connect the Hyper-V server and Windows 10 client (which will be managing) it to a domain:


Step 1 – Identify TrustedHosts

On the client (Windows 10) open an privileged PowerShell session and execute:

 Get-Item WSMan:\localhost\Client\TrustedHosts | select name,value | format-list

Step 2 – Add Server to TrustedHosts

Still on the client and on the samePowerShell session add the remote server to the trusted hosts with the following command:

 Set-Item wsman:\localhost\Client\TrustedHosts "labhv" -Concatenate -Force

And to verify that it is added use the command in Step 1:

Step 3 – Store Remote Server Credentials

Using CMDKEY we can store the credentials created on the server which we want to manage like so:

cmdkey /add:labhv /user:administrator /pass:Password1

Step 4 – Result


7 Comments to “Windows 10 and Server 2012 R2 Server Manager – “WinRM Negotiate Authentication Error””

  1. Ahmed Altaf

    In my windows 10 I am trying to add DNS server using Sever Manager but it keeps on failing and keeps on giving winRM negotiate auth error. I have tried to add my local DNS server i.e but it failed. I tried DNS of my ISP and that also failed and I tried googel dns and it alse failed. All 3 giving the same error. I have added all these three to the trusted hosts also as mentioned above but with no luck. Kindly guide me regarding the issue


Leave a Comment

Your email address will not be published. Required fields are marked *