Tuesday, December 9, 2008

Windows Time Sync

Well I've been having time problems in Windows for a while, considering we are running it in VMware and we normally don't use AD. I'd thought I'd write a quick one on how to configure a NTP time source on Windows. This seems to work on both Windows XP and 2003.

Change the following registry settings:

HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type : NTP
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer : IP Address of Time Server

If you use a DNS name you need to add the 0x1 suffix e.g. tock.usno.navy,0x1

Once you've changed the registry settings stop/start the W32 service:

net stop w32time
net start w32time

And then you can also force a resync with the command:

w32tm /resync

The output should say something like '...command successfully completed.'

Source: http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Time-Service.html?printversion

No comments:

Followers