Use this when a service ticket is missing or rejected.
Service Tickets
A service ticket is a Kerberos ticket for one specific service, encrypted with that service account's key. The client gets it from the KDC using its TGT and presents it to the server to log in.
1. klist — ticket for the SPN?
2. KRB_AP_ERR_MODIFIED → SPN on the wrong account / duplicate SPN.
3. Event 4769 failure codes (0x7 unknown SPN).
4. Ticket encryption type.
5. Purge and retry.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Duplicate SPNs causing ticket failures.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A service ticket is encrypted with the service account's key.
- It is valid for one specific service.
- It is cached until it expires.
klist— Kerberos tickets in the sessionklist purge— clear ticketssetspn -Q <spn>— find which account has an SPNnltest /dsgetdc:<domain> /kdc— find a KDCGet-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771}— KDC events on DCs
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Request a ticket and inspect it
PS C:\> klist purge
PS C:\> klist get cifs/fs01.corp.example.com
PS C:\> klist
#1> Client: alice @ CORP.EXAMPLE.COM
Server: cifs/fs01.corp.example.com @ CORP.EXAMPLE.COM
KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96
Ticket Flags 0x40a10000 -> forwardable renewable pre_authent name_canonicalize
Start Time: 11/27/2026 10:02:11
End Time: 11/27/2026 20:02:11
Session Key Type: AES-256-CTS-HMAC-SHA1-96
| Field | What to check |
|---|---|
| Server | Exactly the SPN the application uses (host name, not IP or alias) |
| KerbTicket Encryption Type | AES expected; RC4-HMAC means the service account lacks AES keys or is limited to RC4 |
| End Time | Default 10 h ticket lifetime |
Flags ok_as_delegate | Present only when the service account is trusted for delegation |
Reading event 4769 on the DC
Event 4769 logs each service-ticket request, including ticket encryption type and failure code. The same hex value means different things in the two fields:
| Value | As Ticket Encryption Type | As Failure Code |
|---|---|---|
| 0x12 | AES256-CTS-HMAC-SHA1-96 | KDC_ERR_CLIENT_REVOKED |
| 0x17 | RC4-HMAC | KDC_ERR_KEY_EXPIRED |
| 0x1B | — | KDC_ERR_MUST_USE_USER2USER (service missing an SPN) |
| 0x20 | — | KRB_AP_ERR_TKT_EXPIRED |
Finding SPN problems
setspn -Q cifs/fs01* # who owns the SPN
setspn -X # duplicate SPNs in the forest
Get-ADUser svc-sql -Properties ServicePrincipalName, msDS-SupportedEncryptionTypes
Duplicate SPNs make the KDC unable to pick one account; a missing SPN makes clients fall back to NTLM silently. Service accounts with SPNs are also the target of Kerberoasting — use long random passwords or gMSAs, and prefer AES-only encryption types.
*The Kerberos service ticket details above are illustrative examples, not captured from a lab or production system.*
How it works
With a TGT, the client asks the KDC for a service ticket (TGS-REQ) for a specific SPN, such as cifs/fs01.corp.local. The KDC finds the account with that SPN and encrypts the ticket with that account's key. The client presents it to the service (AP-REQ), which decrypts it with its own key — the DC is not contacted again. Service tickets are typically valid for 10 hours.
Commands
klist
klist get cifs/fs01.corp.local
setspn -Q cifs/fs01*
Event 4769 on DCs logs service ticket requests; ticket encryption type 0x17 = RC4, 0x12 = AES256.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Kerberos → Service Tickets. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/security/kerberos/kerberos-authentication-overview · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.