WinRM service failed to create the following SPNs: WSMAN – Event ID:10154

WinRM service failed to create the following SPNs: WSMAN – Event ID:10154

Linux, Windows Server
I was getting an error " The WinRM service failed to create the following SPNs: WSMAN/hostname; WSMAN/hostname. " at startup on Windows 2008 R2 Domain Controllers. Additional Data Log Name: System Source:  Microsoft-Windows-WinRM Event ID: 10154 Level:  Warning Solution: WinRM runs under " Network Service " account. You can eliminate this problem by giving Validated Write to Service Principal Name  permission to the NETWORK SERVICE using the ADSIEDIT.msc. This will allow WinRM to auto create the necessary SPNs on that domain controller. After granting this permission, re-sync all DCs and do a reboot to each domain controller where you did the change,  after that reboot you will see that the warning is gone and the required SPNs were created successfully. Steps: 1- Use ADSIEDIT.msc 2- Choose Default naming context and…
Read More