TheGeekery

The Usual Tech Ramblings

Windows time sync

It’s amusing how many people install software like the “atomic clock” application to keep there servers/desktops in sync with a real server. They don’t seem to realize that the functionality is pre-build into windows in the form of the w32time service. For example, our domain controllers in the office are syncing with pool.ntp.org. The desktop machines keep their time synced usign the domain controllers, so all is well. To change the time source, the commands (executed from dos) are as follows:

  net stop w32time
  net time /setsntp:pool.ntp.org
  net start w32time

Simple, and now the server will sync up automagically.

Comments