The WinRM Service failed to create SPNs

Date: December 30, 2014Author: John Taurins0 Comments

WinRM Service Failed to create the following SPNs

I came across this error on a newly created Windows Server 2012 R2 domain controller in a lab environment.

Launch cmd and run: setspn -L <hostname>
You will see no entries for WSMAN/<hostname> or WSMAN/<FQDN>

Browse to Domain > DC=domainname > OU=Domain Controllers >CN=<HOSTNAME>
Right click on CN=<HOSTNAME>, where <HOSTNAME> is the name of the server throwing the error.
Click the Security Tab
Click Add / “Network Service”
Then check (X) to allow access to “Validated write to service principal name”
Click OK

Restart the Windows Remote Management Service
Re-Run: setspn -L <hostname>
Locate entries for WSMAN/<hostname> or WSMAN/<FQDN>

You can also manually create the WSMAN SPN’s using setspn.exe.