Syncing Time with Another Computer?

  • Thread starter Thread starter RJ
  • Start date Start date
R

RJ

If I open a command prompt and want to synchronize
the time on my WinXP PC with the time on another PC (any other computer)
can this be done?

I know there is the w32tm command, and w32tm /resync, but
what if you are in a workgroup (not a domain)? Can you
indicate what computer you want to synchronize your time with,
in the command?
 
RJ said:
If I open a command prompt and want to synchronize
the time on my WinXP PC with the time on another PC (any other computer)
can this be done?

I know there is the w32tm command, and w32tm /resync, but
what if you are in a workgroup (not a domain)? Can you
indicate what computer you want to synchronize your time with,
in the command?

What about syncing both of them with one of the external time servers on
the Internet instead
 
net time \\SERVERNAME /set /Yes
/Yes is optional - prevents a confirmation prompt - useful if you want to
sync by running a batch file.
"SERVERNAME" can be any network peer.
 
Thanks.


GTS said:
net time \\SERVERNAME /set /Yes
/Yes is optional - prevents a confirmation prompt - useful if you want to
sync by running a batch file.
"SERVERNAME" can be any network peer.
 
You're welcome.

FWIW - Here's a batch file I put in startup on the workstations at a
client's site where there is no internet access.

@Echo Off
Echo .
Echo .
Echo Synchronizing Clock with Server
Echo .
net time \\brownserv /set /y
exit

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top