Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Windows Time Service

Direct answer

The Windows Time service keeps the system clock accurate, which Kerberos, logs, certificates and scheduled tasks depend on. Domain members get time automatically; workgroup machines use time.windows.com by default.

When to use this

Use this when clock accuracy matters on Windows.

First 30 seconds

1. Get-Service W32Time — running.

2. Domain: NT5DS; standalone: NTP.

3. Events: Time-Service.

4. w32tm /query /configuration.

5. Resync.

Operational verification

W32Time service → provider (NT5DS/NTP) → clock discipline

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 clock accuracy matters on 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 Check output Verify boundary

Illustrative output, not captured Evidence:

Leap Indicator: 0(no warning)
Stratum: 3
Source: dc01.corp.local
Last Successful Sync Time: ...

Source: Local CMOS Clock means the machine is not syncing.

Step 2 Common mistakes Narrow the fault
  • Manual NTP peers on domain members.
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
  • Kerberos needs accurate time.
  • Logs and certificates depend on it.
  • Workgroup machines use time.windows.com.
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
ReferenceWhy it matters1 section · depth on demand

How it works

The Windows Time service (W32Time) keeps the clock in sync. Domain members follow the domain hierarchy (NT5DS) automatically; standalone machines use NTP (time.windows.com by default). Accurate time matters because Kerberos rejects tickets with more than 5 minutes skew, and logs must line up across systems.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The domain time hierarchy

MachineSynchronises fromType
PDC emulator of the forest root domainExternal NTP (manually configured)NTP
Other DCsPDC emulator or a DC higher in the hierarchyNT5DS
MembersA DC of their domainNT5DS
Workgroup machinestime.windows.com by defaultNTP

Only the forest-root PDC emulator should be configured manually:

w32tm /config /manualpeerlist:"0.pool.ntp.org,0x8 1.pool.ntp.org,0x8" /syncfromflags:manual /reliable:yes /update
Restart-Service w32time

When the PDC emulator role moves, reconfigure the new holder and set the old one back to /syncfromflags:domhier.

Measure, don't assume

C:\> w32tm /stripchart /computer:dc01.corp.example.com /samples:5 /dataonly
Tracking dc01.corp.example.com [10.0.0.10:123].
10:12:01, +00.0012345s
10:12:03, +00.0011987s
C:\> w32tm /query /source
dc01.corp.example.com
C:\> w32tm /query /peers

/stripchart shows the offset against a specific server without changing anything — the right test before blaming time for Kerberos errors. Microsoft's tools reference documents /stripchart, /config /manualpeerlist and the peer flags.

Interpreting /query /status

OutputMeaning
Source: Local CMOS ClockNot syncing — no reachable or configured source
Source: VM IC Time Synchronization ProviderHyper-V host time is used; on DCs disable that provider so the domain hierarchy is authoritative
StratumDistance to the reference; members typically 3–5
Last Successful Sync Time oldUDP 123 blocked or the source is down

Why it matters

Kerberos tolerates 5 minutes of skew by default; beyond that authentication fails with KRB_AP_ERR_SKEW. Certificate validity, log correlation and replication conflict resolution also depend on consistent time.

*The Windows Time source and offset readings above are illustrative examples, not captured from a lab or production system.*

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 → Windows Time Service. 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?