Skip navigation

Q. How can I force a computer to synchronize its time with its time source?

A. You can force a machine to sync its time with either its domain controller (DC)—if the computer is part of a domain—or its configured external time source by using the following command:

w32tm /resync


You’ll see an event written to the system log telling you the time has changed, similar to the following:

Log Name: System
Source: Microsoft-Windows-Kernel-General
Date: 10/24/2008 3:44:48 PM
Event ID: 1
Task Category: None
Level: Information
Keywords: Time
User: LOCAL SERVICE
Computer: savdalwks20.savilltech.net
Description:
The system time has changed to 10/24/2008 8:44:48 PM from 10/24/2008 8:44:48 PM.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-General" Guid="\{a68ca8b7-004f-d7b6-a698-07e2de0f1f5d\}" />
<EventID>1</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000010</Keywords>
<TimeCreated SystemTime="2008-10-24T20:44:48.831Z" />
<EventRecordID>54508</EventRecordID>
<Correlation />
<Execution ProcessID="1136" ThreadID="2508" />
<Channel>System</Channel>
<Computer>savdalwks20.savilltech.net</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="NewTime">2008-10-24T20:44:48.830Z</Data>
<Data Name="OldTime">2008-10-24T20:44:48.830Z</Data>
</EventData>
</Event>
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish