Commands · Command

CommandWindows

w32tm

w32tm /command [options]

Windows Time service command-line tool — configures and diagnoses clock synchronization against a time server (NTP).

// FLAGS

/query /statusshow current sync status and source
/resyncforce an immediate resync
/configset the time source

// EXAMPLE

w32tm /resync — forces the machine to sync its clock immediately with its configured time source instead of waiting for the next scheduled check.

// GOTCHA

A domain-joined machine with a badly drifted clock can fail Kerberos authentication entirely (it has a strict time-skew tolerance) — w32tm /resync is often the actual fix behind "I can't log into the domain" tickets.

// RELATED COMMANDS