NTP (Network Time Protocol)
Cheat sheet · https://pcornel.dk/topic.php?topic=3368
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 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
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