Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Service Tickets

Direct answer

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.

When to use this

Use this when a service ticket is missing or rejected.

First 30 seconds

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.

Operational verification

TGT presented → TGS issues ticket for the SPN → service validates

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity
Scope / prerequisiteUse this when a service ticket is missing or rejected.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • A service ticket is encrypted with the service account's key.
  • It is valid for one specific service.
  • It is cached until it expires.
Key checks
  • klist — Kerberos tickets in the session
  • klist purge — clear tickets
  • setspn -Q <spn> — find which account has an SPN
  • nltest /dsgetdc:<domain> /kdc — find a KDC
  • Get-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
FieldWhat to check
ServerExactly the SPN the application uses (host name, not IP or alias)
KerbTicket Encryption TypeAES expected; RC4-HMAC means the service account lacks AES keys or is limited to RC4
End TimeDefault 10 h ticket lifetime
Flags ok_as_delegatePresent 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:

ValueAs Ticket Encryption TypeAs Failure Code
0x12AES256-CTS-HMAC-SHA1-96KDC_ERR_CLIENT_REVOKED
0x17RC4-HMACKDC_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.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

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%
Terminology layer

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.

Aliases that resolve here
service tickettgstgs-req
Confirmation

Confirm action

Continue?