How to use synchronize the time of 2 PCs through LAN?

Gnaug 0 Reputation points
2024-04-08T06:12:16.72+00:00

I want to synchronize the time of 2 PCs through LAN cable, and the PCs will not have Internet access.

I had tried to use w32tm /resync command to sync the time of one PC to another, and what I get is
"The computer did not resync because no time data was available"

I also tried to use net time \\server_ip /set /yes command, and the outcomes i get is
"System error 5 has occurred, Access is denied"

Anyone have idea to make it?

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
655 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li 5,040 Reputation points
    2024-04-09T06:14:50.3933333+00:00

    Hello,

    The first command requires an NTP server. If not, an error message is reported.

    You want to synchronize the time of one computer (let's say it's A) to the time of another computer (let's say it's B), right?

    If yes, this error indicates that computer A does not have enough permissions to query and set the time of computer B.

    This usually means that Computer B needs to turn on the appropriate sharing and permission Settings. Make sure file and printer sharing is enabled on B's computer.

    0 comments No comments