Time Synchronization Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3369
Answer
Troubleshoot Windows time with w32tm /query /status and /source, w32tm /stripchart against the source, checking UDP 123, the Time-Service event log, and VM time sync from the hypervisor overriding domain time.
Remember
- Check the source first.
- Measure the offset.
- VMs may sync from the host instead.
First checks
w32tm /query /status— source, stratum, last syncw32tm /query /source— current time sourcew32tm /query /configuration— configurationw32tm /stripchart /computer:<server> /samples:5 /dataonly— offset to a serverw32tm /resync— force resync
Verify in this order
source reachable → samples → offset corrected → in sync
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3369