Use this when Kerberos authentication fails.
Kerberos Troubleshooting
Troubleshoot Kerberos with klist to view tickets, the System and Security logs (events 4768, 4769, 4771), clock skew checks, setspn -Q for missing or duplicate SPNs, DNS name usage instead of IPs, and encryption type support.
1. klist — tickets?
2. Name/SPN correct (FQDN, not IP)?
3. Time skew.
4. DC events 4771 (pre-auth failed, 0x18 bad password), 4769 failures.
5. Kerberos logging: HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters\LogLevel=1 briefly.
client → KDC → ticket → service; failure point identified
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
klist purgePrimary Commands
Configuration and operational commands for this Topic.
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 Known-good, broken and when it is fixed Verify boundary
Known-good means the client has a valid TGT, obtains a service ticket for the intended SPN/account, the service accepts it and the original operation succeeds without fallback or repeated Kerberos errors. Broken evidence includes missing/duplicate SPN, expired/skewed ticket, KDC unreachable or decrypt/key mismatch. Reinspect tickets after remediation using a fresh logon/session where required. The limit of what it shows: presence of a TGT shows domain authentication, not that the target service's SPN and key mapping are correct.
Step 2 Common mistakes Narrow the fault
- Not checking
klistand event 4771/4769.
Step 3 Known-good and broken paths Narrow the fault
Known-good: DNS/time/principal scope is correct, credential validation reaches LSASS/domain services as intended, the correct SPN/ticket/token is issued and the protected resource accepts that security context. Broken: authentication can succeed with a fallback mechanism while Kerberos is broken; a ticket can exist for the wrong SPN; a token can be valid yet lack effective authorization at the resource.
Step 4 Native failure isolation and next-check logic Narrow the fault
If no TGT is obtained, inspect domain discovery, time, account state and KDC reachability. If TGT exists but service access fails, request/inspect the service ticket and validate SPN uniqueness/ownership and service-account key state. If Kerberos unexpectedly falls back to NTLM, compare the service name used by the client with registered SPNs and DNS aliases. Purge tickets only after capturing the failing ticket/error, then retry once with a fresh session. Do not reset service-account passwords or mass-edit SPNs without proving the identity/key boundary.
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.
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
ReferenceHow it works1 section · depth on demand
How it works
Kerberos authentication on Windows requires correct client/KDC/service identity, reachable domain controllers, time within policy, a valid TGT, an SPN uniquely mapped to the intended account, and service-ticket encryption keys that match the service account. DNS/service-name changes often cause fallback or KRB_AP_ERR failures even when passwords are correct. Cached tickets can preserve old identity/state after configuration changes. Record client, user, service FQDN/SPN, selected DC/KDC and ticket/error details before purging caches or resetting accounts.
ReferenceImportant terms & boundaries1 section · depth on demand
Method
Kerberos troubleshooting resolves authentication failures and unexpected fallback to NTLM. Most problems come from DNS/SPN mismatches, time skew or delegation configuration.
klist # current tickets
klist purge
setspn -Q HTTP/web01.corp.example.com
setspn -X # duplicate SPNs
w32tm /stripchart /computer:dc01 /samples:3
nltest /sc_verify:corp.example.com
| Symptom / event | Cause |
|---|---|
| KRB_AP_ERR_MODIFIED | SPN registered on wrong account, DNS alias issues |
| KDC_ERR_S_PRINCIPAL_UNKNOWN | Missing SPN |
| Clock skew errors | Time difference > 5 minutes |
| Falls back to NTLM | Access by IP address or name without SPN |
| Double-hop failures | Delegation not configured (use resource-based constrained delegation) |
Enable Kerberos event logging temporarily and check event 4771/4769 on DCs for error codes.
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 → Kerberos Troubleshooting. 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.