How do I register Network Service as an SPN?

5.6k views Asked by At

I registered a domain account as an HTTP SPN earlier today before realising that it would break my Network Service app pools, so I then deleted those registrations for the domain account.

I think I now need to add Network Service back as an SPN to get those app pools working again for Windows Authentication. What is the syntax to do this? I can't work out what the Network Service account is actually called in setspn syntax.

Thanks!

1

There are 1 answers

1
Soundlink On BEST ANSWER

You can reset the computer to use the default SPNs by using this command:

setspn -R hostname

hostname is the actual host name of the computer object that you want to update.

To verify the existing SPNs you can use:

setspn -L hostname