NTP – How to Set Frequent Sync Period for NTP Client

ntptime-synchronizationwindows

I've setup an NTP client for my DC to sync time with time.windows.com but I want it to query the NTP server at least twice a day. I made all the changes via the registry, is there a period registry I can amend and how?

Best Answer

You have the list of registry values here.

Referring to this, try setting the following values :

SpecialPollInterval :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient

Explanation :

Version : Windows XP, Windows Vista, Windows Server 2003, and Windows Server 2008
This entry specifies the special poll interval in seconds for manual peers. When the SpecialInterval 0x1 flag is enabled (see next key : NtpServer) , W32Time uses this poll interval instead of a poll interval determine by the operating system. The default value on domain members is 3,600 (1 hour). The default value on stand-alone clients and servers is 604,800 (7 days).


NtpServer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

Explanation :

Version : Windows Server 2003 and Windows Server 2008
This entry specifies a space-delimited list of peers from which a computer obtains time stamps, consisting of one or more DNS names or IP addresses per line. Each DNS name or IP address listed must be unique. Computers connected to a domain must synchronize with a more reliable time source, such as the official U.S. time clock.
0x01 SpecialInterval
There is no default value for this registry entry on domain members. The default value on stand-alone clients and servers is time.windows.com,0x1.


UpdateInterval :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config

Explanation :

Version : Windows XP, Windows Vista, Windows Server 2003, and Windows Server 2008
This entry specifies the number of clock ticks between phase correction adjustments. The default value for domain controllers is 100. The default value for domain members is 30,000. The default value for stand-alone clients and servers is 360,000.


MinPollInterval :
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config

Explanation :

Version : Windows XP, Windows Vista, Windows Server 2003, and Windows Server 2008
This entry specifies the smallest interval, in log2 seconds, allowed for the system polling interval. Note that while a system does not request samples more frequently than this, a provider can produce samples at times other than the scheduled interval. The default value for domain controllers is 6. The default value for domain members is 10. The default value for stand-alone clients and servers is 10.