SUMMARY
This article describes how to synchronize the time on your computers by using the Windows Time Service.
In Microsoft Windows XP, the Windows Time service automatically synchronizes your computer's internal clock with other clocks in the network. The time source for this synchronization varies, depending on whether the computer is joined to an Active Directory domain or to a workgroup.
When the computers are part of a workgroup, you must manually configure the time synchronization settings. You might identify a computer as a locally reliable time source by configuring the Windows Time service on that computer to use a known accurate time source, either by using special hardware or by using a time source that is available on the Internet. You can configure all other workgroup computers manually to synchronize their time with this local time source.
If the computers belong to an Active Directory domain, the Windows Time service configures itself automatically by using the Windows Time service that is available on domain controllers. The Windows Time service configures a domain controller in its domain as a reliable time source and synchronizes itself periodically with this source. You can modify or overwrite these settings, depending on your specific needs.
Steps:
| 1. |
Click Start, point to All Programs, point to Accessories, and then click Command Prompt. |
| 2. |
Type the following line, where peerlist is a comma-separated list of Domain Name System (DNS) names or IP addresses of the appropriate time sources, and then press ENTER:
w32tm /config /syncfromflags:manual /manualpeerlist:peerlist
|
| 3. |
Type w32tm /config /update, and then press ENTER. |
Notes
| • |
The most common use of this procedure is to synchronize the internal network's authoritative time source with a very precise external time source. However, you can run this procedure on any Windows XP-based computer. |
| • |
If the computer cannot reach the servers, the procedure does not succeed and an entry is written to the Event log. |
| • |
You can use computers on the Internet to provide accurate time information. For example, use the National Institute of Standards and Technology (NIST), which provides the NIST Network Time service. |