Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

W32Time

Direct answer

W32Time is the Windows Time service that implements NTP. Manage it with the w32tm command, for example w32tm /resync, and its configuration in the registry under W32Time\Parameters.

When to use this

Use this when configuring or querying the W32Time service with w32tm and its registry settings.

First 30 seconds

1. w32tm /query /status.

2. Type NT5DS (domain) or NTP.

3. Re-register if broken: w32tm /unregister, /register.

4. Restart service.

5. Resync.

Operational verification

w32tm configures and queries W32Time

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Setting /manualpeerlist on domain members, breaking domain hierarchy.
  • Forgetting /update and restarting the service after changes.
  • VM time sync overriding W32Time.
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 · Windows / Windows Server / PowerShell
Key commandw32tm /query /peers
Scope / prerequisiteUse this when configuring or querying the W32Time service with w32tm and its registry settings.
Reference · 3
What next?3 suggested next steps
Catalog command links3
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

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
  • W32Time implements NTP in Windows.
  • Manage it with w32tm.
  • Its settings live in the registry.
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

Reading status

w32tm /query /status
w32tm /query /source
w32tm /stripchart /computer:dc01 /samples:5 /dataonly

Source: Local CMOS Clock on a domain member means it is not syncing. Stratum and Last Successful Sync Time show health. Event 36/47/129 in the System log report sync problems.

In depth

W32Time configuration commands:

w32tm /config /manualpeerlist:"0.dk.pool.ntp.org,0x8 1.dk.pool.ntp.org,0x8" /syncfromflags:manual /reliable:yes /update   # forest-root PDC
w32tm /config /syncfromflags:domhier /update                                                                      # all other domain members/DCs
Restart-Service w32time
w32tm /resync /rediscover
w32tm /stripchart /computer:dc01 /samples:5 /dataonly
w32tm /debug /enable /file:C:\Temp\w32time.log /size:10000000 /entries:0-300

Flag 0x8 = client mode; 0x1 = special poll interval. Workgroup machines default to time.windows.com.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

w32tm /query /status
w32tm /query /source
w32tm /query /peers
w32tm /stripchart /computer:dc01 /samples:5 /dataonly
w32tm /resync /force
w32tm /config /syncfromflags:domhier /update      # domain members

Documented example, not captured output. Source "Local CMOS Clock" or "VM IC Time Synchronization Provider" on a DC means misconfiguration.

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 → W32Time. 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?