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 for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li 11,285 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.