Pcornel
Windows · Windows Time

Windows Time Service

Cheat sheet · https://pcornel.dk/topic.php?topic=3364

Back to the Topic

Answer

The Windows Time service keeps the system clock accurate, which Kerberos, logs, certificates and scheduled tasks depend on. Domain members get time automatically; workgroup machines use time.windows.com by default.

Remember

  • Kerberos needs accurate time.
  • Logs and certificates depend on it.
  • Workgroup machines use time.windows.com.

First checks

  • w32tm /query /status — source, stratum, last sync
  • w32tm /query /source — current time source
  • w32tm /query /configuration — configuration
  • w32tm /stripchart /computer:<server> /samples:5 /dataonly — offset to a server
  • w32tm /resync — force resync

Verify in this order

W32Time service → provider (NT5DS/NTP) → clock discipline

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=3364

Confirmation

Confirm action

Continue?