Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Iam working as a linux admin. In our company we are using a ubuntu server with windows clients. The time in each clients are not same. Is it possible to sync time from ubuntu server with the windows clients ? Plz help

share|improve this question
Yes, it is possible. ;-) Are you asking how to set up an Ubuntu NTP server, or how to have Windows clients sync to an Ubuntu NTP server? – Kevin Bowen May 30 '13 at 8:39
up vote 3 down vote accepted

This write up explains how to setup your Ubuntu Server as an NTP Server and how to configure your Windows Clients to use your server to sync their time.

Keep in mind that the instructions may differ slightly because you haven't provided the specs of your Ubuntu Server, but the principal will be the same:

Network Time Protocol (NTP) Server and Clients Setup in Ubuntu

Additional information, specifically for Ubuntu 12.04

NTP Server - 12.04

share|improve this answer
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"......this is the spec – surendar Jun 3 '13 at 7:30
Did you try following the examples I provided in the links above? – kingmilo Jun 3 '13 at 7:39
i need some time. i will check it shortly. Thank for u r info – surendar Jun 3 '13 at 8:38

sudo apt-get install ntp

and that should do and then launch the Date and Time SubSettings from System Setting, choose the Change button and select the server in your region and Accept

sudo service ntp restart

and that should do. Then do a

sudo ntpdate -s

and that's it. Unless you want to add it to your /etc/rc.conf and add these lines

(/etc/init.d/ntp stop<br>
until ping -nq -c3; then<br>
   echo "Waiting for network..."<br>
ntpdate -s<br>
/etc/initd/ntp start)&

Good Luck

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.