Synchronize time with external NTP server on Windows Server

NTP synchronization is an important aspect for all computers on the network. By default, the clients computers get their time from a Domain Controller and the Domain Controller gets it’s time from the domain’s PDC Operation Master. Therefore the PDC must synchronize it’s time from an external source. I usually use the servers listed at the NTP Pool Project website. Before you begin, don’t forget to open the default UDP 123 port (from Lan to Wan) on your firewall.

1) First, locate your PDC Server. Open the command prompt and type:

netdom /query fsmoCopy

2) Login to your PDC and open the command prompt as the Administrator 3) Stop the w32Time Service

net stop w32timeCopy

4) Configure the external time sources, type

w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org”Copy

5) Make your PDC a reliable time source for the clients

w32tm /config /reliable:yesCopy

6) Start the w32time Service

net start w32timeCopy

7) Check thes servers time configuration

w32tm /query /configurationCopy

8) Check the Event Viewer for any errors

More helpfull w32tm commands

Force synchronizing the time asap

w32tm /resync /nowaitCopy

Display time source

w32tm /query /sourceCopy

Display list of all configured NTP servers and their status

w32tm /query /peersCopy

Display time service status i.e whether it is getting time from local cmso clock/external NTP server

w32tm /query /statusCopy

The Windows Time Service logs several events in the Windows System log, which can be viewed in the Event Viewer application.

About Damon Luong

San Jose, California
This entry was posted in My Windows, windows. Bookmark the permalink.