• Advertisement
Join the IT Notebook

Windows 2000+ - OS - Synchronizing with an NTP time server

Any software title released for Windows. Articles are posted in "Windows Version - Software Title - Subject" format.

Windows 2000+ - OS - Synchronizing with an NTP time server

Postby lmmtux » Wed Aug 22, 2012 10:12 pm

Windows 2000 and up has the ability to synchronize with an NTP time server. However by default, Microsoft only has its own proprietary time synchronizing protocol enabled which usually requires a domain controller on the network.

To support a standard NTP time server, follow these steps:

  1. Start the Windows Time Service in the Services control panel.
  2. Run this command to point the Windows Time Service to your local (or remote) NTP time server:
    Code: Select all
    net time /setsntp:"192.168.1.1"

    Be sure to substitute the time server you wish to use, for 192.168.1.1 in the command above. This modifies the registry to use this specific server.
  3. Restart the Windows Time Service in the Services control panel for the changes to take effect.
  4. Make sure the Windows Time Service is set to automatic so it will start automatically on reboot.

The machine should now sync up to your time server and reflect the correct time within a few seconds. You can also use the site http://www.time.gov to view the official time to make sure it is working.


To synchronize with more than one time server:


If you would prefer to have the Windows Time Service use a list of NTP servers to query (good for redundancy), run this command in place of the one above:

Code: Select all
net time /setsntp:"192.5.41.209 192.4.41.40 192.5.41.41"

Where the three IP addresses provided here are for the two specific NTP time servers to use. You can specify as many time servers as needed, separated by spaces as shown.
lmmtux
 
Posts: 55
Joined: Mon Jul 30, 2012 9:40 pm
Reputation: 0

Return to Microsoft Windows

 


  • Related topics
    Replies
    Views
    Last post
cron