Thursday, February 10, 2011

HOW TO - Fix WinRM Service failed to create

Small Business Server 2003, Event ID: 10154, Source: WinRM, Type: Warning

The WinRM service failed to create the following SPNs: WSMAN/hostname.domainname.local; WSMAN/INK.

Additional Data:

The error received was 8344: Insufficient access rights to perform the operation. .

User Action

The SPNs can be created by an administrator using setspn.exe utility.

   1. run - setspn -L <hostname>
   2. You’ll see no entries for WSMAN/<hostname> or WSMAN/<FQDN>
   3. Run ADSIEDIT.MSC
   4. Browse to Domain
         1. DC=domainname
               1. OU=Domain Controllers
                     1. CN=<HOSTNAME>
   5. Right click on CN=<HOSTNAME>, where <HOSTNAME> is the name of the server throwing the error, in this case it is the SBS2003, click Properties.
   6. Click the Security Tab
         1. click Add / “Network Service”
         2. Then check (X) to allow access to “Validated write to service principal name”
         3. Click OK
   7. Run Services.msc
   8. Restart the “Windows Remote Management (WS-Management)” service
   9. Check event log for errors.
  10. Re-Run - setspn -L <hostname>
  11. Locate entries for WSMAN/<hostname> or WSMAN/<FQDN>

6 comments:

  1. Worked like a Charm, Thanks Jeff!!!

    ReplyDelete
  2. Might be worth mentioning that you need the windows server support tools installed to run any of the commands in this post.

    ReplyDelete
  3. Thanks mate that worked great :)

    ReplyDelete
  4. Excellent!, work on my Windows 2008 R2 Domain!

    Thanks

    ReplyDelete
  5. Nicely done! Warning is gone.

    Thank you bud!

    ReplyDelete