Standard user
setspn -Q <spn>
setspn -Q <spn>
Searches the domain for an SPN and shows which account holds it.
Kerberos fails with a duplicate or missing SPN.
Remove the wrong one with setspn -D <spn> <account> after confirming the service account.
Privilege Standard userState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Checking domain DC..., CN=<account>, the matching SPN, Existing SPN found! / No such SPN found.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Shows which account owns a given SPN.
Does not prove the service runs under that account.
Remove the wrong one with setspn -D <spn> <account> after confirming the service account.
Command guidance
Execution context
Standard user
Use when
Kerberos fails with a duplicate or missing SPN.
Important fields
Checking domain DC=..., CN=<account>, the matching SPN, Existing SPN found! / No such SPN found.
Common problems
the SPN exists on two accounts (duplicate); no account holds it
Operational impact
Read-only.
Technical context
A duplicate SPN breaks Kerberos for that service. Use -F to search the whole forest.