Thursday, April 15, 2010

Configure Windows Server to sync time with Internet Time (NTP) servers

The clock of your Windows Server is not automatically synced with internet time servers.This guide knows how to do it:

  • "Note that you don't want to do this on a computer (PC or server) that is part of a domain, as this computer should pick up time from the Domain Controller.
  • You should do this on the domain controller itself though. The DC, in turn, will hand out the correct time to the rest of the computers."

The .REG file:

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters] "NtpServer"="pool.ntp.org" "Type"="NTP" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient] "SpecialPollTimeRemaining"="pool.ntp.org" "SpecialPollInterval"=dword:00000e10

Download: TimeSync.zip

After restarting the Windows Time Service

net stop w32time

net start w32time

You can check when the last time synchronisation happend using

w32tm /query /status