Sync Time from an External Time Source

This is a quick post to how to sync your domain controllers with an external time source (0.uk.pool.ntp.org). By default, all machines in a domain will sync time from the domain controller which is the internal time server- if you have more then one Dc then time will sync from the DC that holds the PDC emulator FSMO role. To Check which DC is PDC emulator in your domain you need to run netdom /query fsmo command like so:

Windows_Server_2008_R2_SP1_How_to_Sync_Time_to_External_Time_Source_1

Once PDC emulator role is established there is a few commands we need to run in order for time to sync, these are (run on PDC emulator)

w32tm /config /manualpeerlist:"0.uk.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
w32tm /config /update
net stop w32time && net start w32time

Windows_Server_2008_R2_SP1_How_to_Sync_Time_to_External_Time_Source_2
If you need to add more than one NTP server than the peer list entries are space delimited, see example below.

"0.uk.pool.ntp.org 1.uk.pool.ntp.org ntp2a.mcc.ac.uk"

Once completed windows time service should begin Synchronizing time on the domain controller(s) with the external source. to view the time configuration you can use w32tm /query /configuration command.

before synced with the external time server

Windows_Server_2008_R2_SP1_How_to_Sync_Time_to_External_Time_Source_3

and after I made the changes

timeprovider

all was set to sync from 0.uk.pool.ntp.org. From workstation point of view to configure a client computer for automatic domain time synchronization:

w32tm /config /syncfromflags:domhier /update

and to check if its syncing:

w32tm /monitor

and to re-sync:

w32tm /resync

If there’re any errors then these will be written to event Viewer – please check if you’re having issues

UK Time Servers

0.uk.pool.ntp.org
1.uk.pool.ntp.org
ntp2a.mcc.ac.uk
ntp2b.mcc.ac.uk
ntp2c.mcc.ac.uk
ntp2d.mcc.ac.uk
ntp.exnet.com

 

 

Hemp

IT and security Expert with 20+ Years of Experience. _______________________________________________________ With over two decades of experience in the dynamic field of Information Technology and security, I have honed my skills to become a leading expert in safeguarding digital landscapes. My passion for technology and an unquenchable thirst for knowledge have driven me to stay at the forefront of the ever-evolving IT industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top