Pcornel
Windows · Windows Time

NTP (Network Time Protocol)

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

Back to the Topic

Answer

NTP (Network Time Protocol, UDP 123) is the protocol W32Time uses. Configure the forest root PDC to use reliable external servers with w32tm /config /manualpeerlist /syncfromflags:manual /reliable:yes.

Remember

  • NTP uses UDP 123.
  • Set peers with w32tm /config /manualpeerlist.
  • Mark the root PDC reliable.

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

NTP client polls servers on UDP 123 → offset → clock adjusted

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

Confirmation

Confirm action

Continue?