Friday, June 20, 2014

windows 2012 R2 external NTP settings


On Windows 2012 R2 you can use the following commands to setup ntp against the public pool provided by ntp.org

You should keep your primary DC in sync, so it will give right time to all your computers in the domain. To find your clocksource run: netdom /query fsmo

  • Start cmd.exe as administrator
  • net stop w32time
  • w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org
  • w32tm /config /reliable:yes
  • net start w32time
Now your time should be in sync, and get replicated to all your clients.
If you got a reliable clock source, you should consider joining the ntp project.

No comments:

Post a Comment