Reputation: 343
I have a number laptops that run our application while connected to each other in pairs with an ethernet cable, but not connected to any external network or the internet. T
I need the connected pair to synchronize their system times, but since every computer needs to be able to synch with any other computer, I can't define one computer to be a time-server and the other to be a client.
Is there a way to do this with NTP? Or some other way?
Upvotes: 3
Views: 16969
Reputation: 1
You can use special software for synchronization, for example ClockSynchro. Network may be not connected ro internet. Contains ClockSynchroServer and CkockSynchroClient. This program is easy for install and use. http://clocksynchro.com On Windows 7 you must run ClockSynchroClient with adminisrtrator permitions ("Run as Administrator")
Upvotes: 0
Reputation: 4155
NET TIME is the way to go. If you do NET TIME \computername /SET it will ask you to confirm if you want to set the time. Just "assign" one of your systems to be the master.
Upvotes: 8
Reputation: 12362
You can use NET TIME command to synchronize time between two computers.
net time /?
The syntax of this command is: NET TIME [\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]
Windows also has a NTP server, just look in Windows Components (or wherever depending on win-version).
Upvotes: 1
Reputation: 138776
Maybe you can use the Windows Time Service Tools with the manualpeerlist options?
See another article here: How to configure an authoritative time server in Windows Server
Upvotes: 2