Managing SPN with Setspn

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 duplicate SPN:s in domain. You can specify domain by adding -T <domain>.
setspn -X

Add SPN for multiple instances of SQL

setspn -S MSSQLSvc/mysite.se:InstanceName DOMAIN\MyServer

This entry was posted in Active Directory. Bookmark the permalink.