Synchronizing time between two Windows 7 machines connected with a LAN cable

半腔热情 提交于 2019-12-12 07:38:20

问题


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?


回答1:


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.




回答2:


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




回答3:


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).




回答4:


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")



来源:https://stackoverflow.com/questions/4946221/synchronizing-time-between-two-windows-7-machines-connected-with-a-lan-cable

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!