Use this when configuring NTP sources for Windows.
NTP (Network Time Protocol)
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.
1. NTP servers: w32tm /query /peers.
2. UDP 123 reachable.
3. Flags 0x8 (client) / 0x1 (special poll).
4. Stripchart to the server.
5. Resync.
NTP client polls servers on UDP 123 → offset → clock adjusted
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- UDP 123 blocked to the PDC.
Step 2 Where it fails Narrow the fault
Failure analysis for Windows Time → NTP follows the Windows chain of components: target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- NTP uses UDP 123.
- Set peers with w32tm /config /manualpeerlist.
- Mark the root PDC reliable.
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
ReferenceImportant terms & boundaries2 sections · depth on demand
Ports and flags
| Item | Value |
|---|---|
| Port | UDP 123 |
0x8 flag | Client mode |
0x1 flag | Use SpecialPollInterval |
| Max skew for Kerberos | 5 minutes |
In depth
NTP basics for Windows admins: UDP 123, stratum levels (0 reference clocks, 1 servers attached to them, …), poll intervals, offset and delay. W32Time is SNTP/NTP-compatible; for strict accuracy requirements (finance, trading) Microsoft documents specific settings and recommends physical hosts or proper VM time providers.
Virtual DCs: disable Hyper-V/VMware time sync for the DC except at boot (Hyper-V: leave Time Synchronization enabled but set VMICTimeProvider Enabled=0 on DCs, or follow vendor guidance), so DCs follow NTP rather than the host clock.
reg query HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Time → NTP. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/windows-time-service/windows-time-service-top · confidence 94%