Use this when configuring or querying the W32Time service with w32tm and its registry settings.
W32Time
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.
1. w32tm /query /status.
2. Type NT5DS (domain) or NTP.
3. Re-register if broken: w32tm /unregister, /register.
4. Restart service.
5. Resync.
w32tm configures and queries W32Time
Context & applicabilityCommon mistakes · platform/version boundaries
- Setting
/manualpeerliston domain members, breaking domain hierarchy. - Forgetting
/updateand restarting the service after changes. - VM time sync overriding W32Time.
Operational reference
Fast context before you go deeper.
w32tm /query /peersPrimary Commands
Configuration and operational commands for this Topic.
w32tm /query /peersReferenceLists the time peers the Windows Time service uses and their state.
Use when: You want to see why time sync fails or which NTP servers are configured.
Quick note: On a domain member the peer is normally a domain controller (NT5DS).
Windows / Windows Server / PowerShell · configuration · verifiesw32tm /query /statusReferenceShows the Windows Time service state: time source, stratum, last sync and offset.
Use when: Kerberos fails with clock skew, or logs show wrong timestamps.
Quick note: Domain members should sync from a domain controller, and the PDC emulator from an external source. More than 5 minutes of skew breaks Kerberos by default.
Windows / Windows Server / PowerShell · state · verifiesw32tm /resyncReferenceTells the Windows Time service to sync now and correct the clock.
Use when: After fixing the time source, or when the clock is off.
Quick note: A large offset may be corrected at once. Systems sensitive to time jumps should be checked first.
Windows / Windows Server / PowerShell · stateEvidence · 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.
- W32Time implements NTP in Windows.
- Manage it with w32tm.
- Its settings live in the registry.
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
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.
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
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 → 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%