Windows : Time synchornization

By | February 28, 2017

There might be a few situations where you need more flexibility than what the clock UI can provide. In that case, you will need some help from the command line and registry.

To manually synchronize the clock with a time server using the command line :

NOTE : Replace <ntp_server> with the server IP or FQDN.

Example :

To change the time server list/source :

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ W32Time \ Parameters

NOTE : Edit <peerlist>, using space between the server IP or FQDN. Make sure to append “,0x1” at the end of any FQDN record.

To set the pooling interval :

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

NOTE : Edit <period>, value should be set in seconds.




Be Sociable, Share!