Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

NTP (Network Time Protocol)

Direct 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.

When to use this

Use this when configuring NTP sources for Windows.

First 30 seconds

1. NTP servers: w32tm /query /peers.

2. UDP 123 reachable.

3. Flags 0x8 (client) / 0x1 (special poll).

4. Stripchart to the server.

5. Resync.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Microsoft Windows
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Windows
Scope / prerequisiteUse this when configuring NTP sources for Windows.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • NTP uses UDP 123.
  • Set peers with w32tm /config /manualpeerlist.
  • Mark the root PDC reliable.
Key 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
ReferenceImportant terms & boundaries2 sections · depth on demand

Ports and flags

ItemValue
PortUDP 123
0x8 flagClient mode
0x1 flagUse SpecialPollInterval
Max skew for Kerberos5 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
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docMicrosoft Windows current

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%
Confirmation

Confirm action

Continue?