Echo Machine is %1 psexec \\%1 net stop w32time PING 1.1.1.1 -n 30 -w 10 >NUL psexec \\%1 net time /setsntp:felix.cgs.kodak.com PING 1.1.1.1 -n 30 -w 10 >NUL psexec \\%1 net start w32time How to synchronize the time on a member computer in an Active Directory domain 1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt. 2. Type w32tm /resync, and then press ENTER. Back to the top How to synchronize an internal time server with an external source 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. To control the number of seconds to wait between attempts to synchronize the system clock to an time source on the Internet using the following Windows XP registry hack: Hive: HKEY_LOCAL_MACHINE Key: SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient Name: SpecialPollInterval Type: REG_DWORD Value: #secondsdesired default Don't set it too low. Your PC clock doesn't drift that fast. Once a day is good enough. (default) will control which time server to use. The Servers key will have entries for internet time servers. For example my system has (default)=2, value 1="time.windows.com" and value 2="time.nist.gov". Meaning my time is syncronized from the nist.gov site. To control which time source to synchronize the system clock with, use the following Windows XP registry hack: Hive: HKEY_LOCAL_MACHINE Key: SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers Name: (Default) Type: REG_SZ Value: entry of choice, 1-# time servers you have default If you want to add a new time server, add a new value, in my example the next value 3="thenewtimeserver.com"