Configure external ntp server on domain controller

A quick and easy guide to set up the synchronization of a domain controller with a external ntp servers. Normally we tend to set up synchronization on the server that holds the role PDC (Primary Domain Controller) because he acts as “clock” for the entire domain.

Open the msdos prompt and give these commands:

net stop w32time
w32tm /config /syncfromflags:manual /manualpeerlist:”,,,”
w32tm /config /reliable:yes
net start w32time

In my case I set ntp servers that are part of the Italian pool. To verify that everything is working correctly you can use these two commands:

w32tm /query /configuration
w32tm /query /status


Remember that the NTP service works on the door UDP 123 which then has to be open to the outside from the machine on which you are configuring the timing and, being over UDP, you can not test the reachability with telnet.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.