Use this when Kerberos fails with clock skew.
Time Synchronization
Kerberos requires client and DC clocks to be within 5 minutes by default, because tickets carry timestamps to block replay. Clock skew causes KRB_AP_ERR_SKEW errors and failed logons.
1. w32tm /query /status on client and DC.
2. Skew > 5 min → KRB_AP_ERR_SKEW.
3. Fix time hierarchy (PDC emulator).
4. Resync.
5. Retry auth.
clocks within 5 minutes → tickets valid
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
- Clock skew above 5 minutes.
Step 2 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.
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.
- Default allowed clock skew is 5 minutes.
- Domain time follows the DC hierarchy.
- VMs can drift or be overridden by host time.
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 & boundaries1 section · depth on demand
In depth
Kerberos requires clocks within 5 minutes (default MaxClockSkew) between client, server and KDC; beyond that, authentication fails with KRB_AP_ERR_SKEW.
w32tm /query /status
w32tm /stripchart /computer:dc01 /samples:5 /dataonly
w32tm /resync /rediscover
Domain members sync from DCs, DCs from the PDC emulator, and the forest-root PDC from reliable external NTP. Virtual DCs should not take time from the hypervisor except at boot.
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 → Time Synchronization. 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.