Pcornel
Windows

Windows Time

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

Back to the Topic

Answer

Windows Time keeps clocks synchronized with W32Time: domain members sync from DCs, DCs from the PDC Emulator of the forest root, and that from an external NTP source. Kerberos needs clocks within 5 minutes.

Remember

  • Domain time flows from forest root PDC.
  • Only that PDC should use external NTP.
  • VM time sync can fight domain time.

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

Commands

w32tm
Configure and check the Windows Time service.

Verify in this order

PDC emulator ← external NTP → DCs → members

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

Confirmation

Confirm action

Continue?