Managing SPN with Setspn

Search:
setspn -Q <SPN>

Add:
Add SPN to an account in Active Directory after verifying that no duplicate exist in domain.
setspn -S <SPN> <Account>
i.e setspn -S http/web.mysite.se DOMAINMyServer

Look for duplicates:
Look for duplicate SPN:s in domain. You can specify domain by adding -T <domain>.
setspn -X

 

This entry was posted in Active Directory and tagged , , , . Bookmark the permalink.