Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have some computers that run Windows 7 embedded and are connected to each other by a switch, but are not connected to a larger network or the internet. After a few weeks, the clocks drift and it is difficult to figure out what is going on in the logs between them. Is there a way to keep the clocks on these computers synchronized? Within 1 second would be good enough for my purposes.

I've searched for a solution and everything seems to link to or is a copy of this page: http://support.microsoft.com/kb/816042

One of the computers acts as a master for the others and I have configured it as described in the section "Configuring the Windows Time service to use an internal hardware clock" in the above article. I've attempted to configure another computer as described in the "Configuring the Windows Time service to use an external time source" section, using the IP address of the master for the NtpServer option. I waited 15 minutes and their clocks did not synchronize (they remain about 1 minute apart).

Also, is there a way to find error messages produced by the w32time service? Currently, my only approach is to change something and wait to see if it works.

These computers are not in a domain.

share|improve this question
add comment

1 Answer 1

up vote 13 down vote accepted

You will need to install a TimeServer on the same network. Now there are articles available to make a Windows 7 machine able to share time.. but I am not sure. I know all Windows 2000+ Servers come with NTP enabled as standard and when you are in a domain it automatically uses the servers time across the domain.

Microsoft Recommends using a dedicated time server.. ; but that's like another machine.

There is however an option in the Group Policy Editor to enable the NTP server on Windows 7 - I found this.. but nothing more

Then each client needs its IP for NTP changed to that machine like [192.168.0.25] ..

enter image description here

But also, if you have a dedicated "server"(not really server just main computer) machine, that holds all the data for example.. you could run a Virtual Machine with a damn small linux distro and setting up a NTP on it is as easy as using the native installer. These distros are minute and use almost no memory or cpu, but can do allot of impressive things if you research it a bit.

But the best solution is to install a Windows Server and put all the Machines on a Domain.

You can try Windows SBS Essentials.. and its very cheap too.

share|improve this answer
1  
I was able to get it working, but I also had to open up the UDP 123 port on the firewall on the master computer. I did not have to add a separate time server to the main computer. After that, the only change required on the slave computers was to set the server in the internet time tab as ppumkin suggested. –  mccoyn Jan 6 '12 at 18:22
    
It didn't work after a reboot. This link explains why: mcbsys.com/techblog/2010/09/… –  mccoyn Jan 6 '12 at 20:37
    
Its just windows being a pain in the neck as usaull :( Sorry to hear that.. but that link explains hyper-v, in other words virutalization. You better of with using VM with a NTP server on it, that will auto start on reboot... –  ppumkin Jan 6 '12 at 20:56
1  
It also explains the service triggers. The virtualiztion stuff is just extra. To get it to work I had to run "sc triggerinfo w32time delete" since it is configured by default to not work if not on a domain. Yeah, windows being a pain. –  mccoyn Jan 9 '12 at 21:27
add comment

Your Answer

 
discard

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.