Sync Clock
Sync Clock corrects the clock on the selected computers when it is more than 60 seconds from its time source. A clock inside the tolerance is left alone. The agent measures the clock again afterwards and reports Verified only when it is right.
Menu path
Endpoints > Endpoint List > select one or more computers > Change > Repair > Sync Clock.
There is no dialog. A confirmation asks "Set the clock on 1 computer (DEVDC) from its time source now?". Below the question it says "A clock out by more than 60 seconds is corrected. This cannot be undone." Click Yes to send it.
Clock correction steps
- The agent asks Windows for the time source (
w32tm /query /source). It measures the offset against that source withw32tm /stripchart. - If the source is missing, unreachable or
time.windows.com, the agent points Windows Time attime.cloudflare.com,time.google.comandpool.ntp.org. It then measures again. - If the clock is more than 60 seconds out, the agent runs
w32tm /resync /forceand the run reports Applied. - If the clock is still out, the agent sets the system time from the source directly.
- The agent measures again. Inside 60 seconds, the run reports Verified. Outside, the run fails with the offset it found.
A domain member whose domain time source answers keeps that source.
The result reads like this:
before: -94.512, after: 0.003, method: w32tm, source: DEVDC.dev.local, tolerance: 60
| Value | Meaning |
|---|---|
| before and after | Offset in seconds before and after. Positive means the computer was behind. |
| method | none (already right), w32tm (resync) or setsystemtime (set directly) |
| source | The time source measured against |
Clock policy
The Endpoint clock policy setting (DMPCClockPolicy) sets where computers take their time from:
| Policy | Time source |
|---|---|
domain |
The domain hierarchy. A computer outside a domain falls back to ntp. |
ntp |
The public time servers listed above |
coll |
The computer's collection server. Use it on a network with no internet and no domain. The Collection server hostname setting (DMPCCollTimeHost) names the server. |
With no policy set, Sync Clock changes the source only in step 2. If the policy's source does not answer, the agent turns the Hyper-V host time provider back on and the run fails. A virtual machine then keeps its host as a working time source.
After you click Yes
The message reads "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. See Following a run.
Undo
None. A wrong time is not a state to restore. The previous offset is kept in the run's result.
Key points
- Sync Clock needs the agent. See Agent and Agentless.
- Check a clock without changing it with Show > Clock. See Antivirus, Hardening and Clock.
- A clock that cannot be measured fails with "Clock offset cannot be measured". Check that the computer can reach its time source on UDP port 123.