Tuesday, October 26, 2010

Setting up time clock in AD Domain Controller

Knowing how it works is great, but having it handy it better.

Normally I've seems Domain Controller without a NTP server, and
have to fight with my head trying to get the right syntax.

Here are the lines that I normally use to set this up.

This will tell you the time difference between the local computer and target computer.

w32tm /stripchart /computer: target /samples: n /dataonly

w32tm /stripchart /computer:time.nist.gov /samples:3 /dataonly

Log into you PDC-Emulator and type this

w32tm /config /manualpeerlist: peers /syncfromflags:manual /reliable:yes /update

w32tm /config /manualpeerlist:”time.nist.gov” /reliable:yes /update

NTP uses UDP Port 123 egress only so make changes on you firewall accordingly