setspn
CautionManage SPNs
setspn -L <account>
Lists, queries and sets SPNs — the tool for Kerberos auth failures and duplicate-SPN hunts.
Examples
setspn -Q HTTP/intranet.corp.localFind who holds an SPN
Syntax
setspn [-L account] [-Q spn] [-S spn account]
Before you run it
Bad SPN edits break authentication.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store