Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Nov 14 '11 at 10:58

This question came from our site for professional and enthusiast programmers.

4 Answers 4

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

share|improve this answer

You probably want net time /setsnmp:..., or you can go to the clock control panel (e.g. right click on the clock in the task bar) and go to the 'Internet Time' tab.

I think you need to edit the registry to alter the update frequency, though:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Config\UpdateInterval

which is the value in seconds. Google says you'll need to restart the w32time service (Windows Time) to pick up the changes.

share|improve this answer

This is link to a good artice I found on VMware's site.

Follow the steps and you should end up with a server that updates from an NTP server every 15 minutes. It solved my issues.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1318

share|improve this answer

So I found a way to do this that is working, although it is a Third party program that periodically checks an NTP and adjusts the system time. It is a Source Forge project called NetTime -> http://www.timesynctool.com/.

We configured it as a Windows service so it starts a boot up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com?utm_source=stackoverflow.com&amp;utm_medium=site-ui&amp;utm_campaign=footerlink\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a>                   with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.10.21.1957\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Server Fault works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </nosc"], "copyright__copyright__copyright": [" found a way to do this that is working, although it is a Third party program that periodically checks an NTP and adjusts the system time. It is a Source Forge project called NetTime -> http://www.timesynctool.com/.\n\nWe configured it as a Windows service so it starts a boot up.\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}