about me search skip to content ↓

How to Sync Win2008 server time with NTP (and others)

by Mike Norman on July 28, 2010

I recently noticed that out domain time was drifting about 5 seconds a week, not a big deal for a while but if it gets too out of sync we would start having Kerberos issues, so better fix it now before we start seeing problems. Here’s what i did to get our domain back on the proper time (and keep it that way)

First off go to your DCHP serve, open DHCP, select ipv4, right click “Server Options”,Check 004 Time Servers and type the IP address for the server you want to be the time server (strongly recommend you use your Primary Domain Controller)

Now open up your PDC, and run “CMD” as an administrator and type the following commans:

w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org”,0×4 /syncfromflags:MANUAL

net stop w32time
net start w32time

w32tm /resync /rediscover

That will set round robin time checks with 0.pool.ntp.org,1.pool.ntp.org,and 2.pool.ntp.org. the second set will restart the time service, and the third forces a sync. you should be all set and as your computers renew their dhcp leases they will start getting their time from your time server! if you need to force a computer to update its time you can use the “w32tm /resync /rediscover” command.

If you want to use a different time server just replace the *.pool.ntp.org with one of these servers

Enjoy!!

Comments on this entry are closed.

Previous post:

Next post: