Active Directory

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.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store