Make Windows Server 2008 periodically update internet NTP

ntpwindows-server-2008

I have read a bunch of posts and other information on the internet and I have yet to come across the solution to this question. On a windows network, all the computers sync up with the domain controller (for time), and this is working. The problem is our domain controller (windows server 2008) has the wrong time. Apparently it is supposed to sync itself with some internet time, although I cannot find the options for setting this up in the normal date/time settings in the control panel.
I think that maybe the domain controller syncs the time with the internet every time it reboots, but it has been a while since the last reboot and the time is a few minutes different from international standard time.
I would like to have something similar to ntp (apt-get install ntp) in ubuntu server. This works great ~ it adjusts the server time to the internet time every few minutes.

Thanks for any info.

Best Answer

I've successfully used this sequence of commands to configure the time service on a stubborn domain controller. This should only be used on the server with the PDC role, other servers should sync their time from the PDC.

C:\> net stop w32time
C:\> w32tm /unregister
C:\> w32tm /register
C:\> net start w32time
C:\> w32tm /config /syncfromflags:MANUAL /manualpeerlist:us.pool.ntp.org /update

When you want to use a public NTP server, set the syncfromflags to MANUAL. When you want to sync against other servers in the domain, use DOMHIER.

http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx

Related Topic