Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

setspn -L <account>

setspn -L <account>

Lists the service principal names (SPNs) registered on a user or computer account.

Execution context

Standard user

Use when

Kerberos authentication to a service fails and you suspect a missing SPN.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
Safe during productionUnknown
CategoryKerberos
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Erberos
PlatformWindows / Windows Server / PowerShell
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Registered ServicePrincipalNames for CN

<account>: service/host entries

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows the SPNs currently registered on the account.

Does not prove

Does not prove the SPN is unique in the forest.

Next check

Search for duplicates with setspn -Q <spn> or setspn -X.

Depth when you need it

Command guidance

Execution context

Standard user

Important fields

Registered ServicePrincipalNames for CN=<account>: service/host entries

Common problems

SPN registered on the wrong account; missing FQDN or short-name variant

Operational impact

Read-only.

Technical context

For a service running under a domain account, the SPN must be on that account, not on the computer.

Confirmation

Confirm action

Continue?