Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Without using any external packages for Windows, can Linux synchronise it's clock to a Windows 03/08 Server natively? I've tried it using various NTP packages for Windows but would like to use just Windows software for this.

EDIT: I've tried the below however it doesn't work. I've put TimeSource in /etc/hosts, stated server TimeSource in /etc/ntp.conf however when I do a service ntpd start it doesn't sync (it's 3 minutes out at the minute). I then stopped the NTPD and did a ntpdate TimeSource, thinking it would sync and then I'd start the NTPD once it's got the time, and it says: no server suitable for synchronization found. Though I can ping it. Any thoughts?

share|improve this question
up vote 3 down vote accepted

You can use the "net" command from the linux box:

net time set -S <server>
share|improve this answer

PDC (Primary Domain Controller) works as a NTP server - you can simply point your Linux box to it. If you want to configure it outside of Active Directory, the process is a bit different:

Cheers. siupakabras

share|improve this answer

Yes, a Linux client's ntpd (or other NTP clients like ntpdate) has no problem syncing its clock with the NTP server mode of the Windows Time Service.

share|improve this answer

Your Answer


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.