How to keep Windows 2003 server time correct?


Recommended Posts

Hello everyone,

I was wondering how to keep a Windows 2003 server time up to date, and in sync with a internet time server. What are exact commands, to sync with with a time server automatically, rather then me having to do it every two weeks. (Gets out of sync about every two weeks.. a month later and your off by a few minutes)

-lieb39

net time /setsntp:ntp.shorty.com

replace ntp.shorty.com with the name or (preferably) IP address of your favorite NTP server.

multiple servers can be used like so:

net time /setsntp:"ntp.shorty.com 192.168.1.5 192.168.1.6"

EDIT: hang on...this doesn't look complete, i will follow up shortly...

EDIT2: this looks interesting: http://www.microsoft.com/resources/documen.../time_w32tm.asp

Edited by cpugeniusmv

The PDC is automatically the default time server in a domain i thought? But you can set other servers to be a time server.

On the server you need to point it too a NTP source like tick.usno.navy.mil as per the command cpugeniusmv just gave you.

To force to update the time: net time /set

It will then ask if you want to synchronise the time. The clients can do this all wait around a day usually or next reboot and they'll synchronise.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.