Syncing Time with Another Computer?



RJ
07-09-2005, 11:23 PM
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?

andy smart
07-09-2005, 11:23 PM
RJ wrote:
> 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

GTS
07-09-2005, 11:23 PM
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.
--

"RJ" <jackbobNOSPAM@hotmail.com> wrote in message
news:%234WGXGwVFHA.628@tk2msftngp13.phx.gbl...
> 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
07-09-2005, 11:23 PM
Not an option. Assume no Internet access.


"andy smart" <anonymus@discussions.microsoft.com> wrote in message
news:d5vt1k$pr3$2@newsfeed.th.ifl.net...
> RJ wrote:
> > 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

RJ
07-09-2005, 11:23 PM
Thanks.


"GTS" <x> wrote in message news:OHQjYmwVFHA.3176@TK2MSFTNGP12.phx.gbl...
> 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.
> --
>
> "RJ" <jackbobNOSPAM@hotmail.com> wrote in message
> news:%234WGXGwVFHA.628@tk2msftngp13.phx.gbl...
> > 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?
> >
> >
>
>

GTS
07-09-2005, 11:23 PM
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

--

"RJ" <jackbobNOSPAM@hotmail.com> wrote in message
news:O4qXNpwVFHA.3320@TK2MSFTNGP12.phx.gbl...
> Thanks.
>
>
> "GTS" <x> wrote in message news:OHQjYmwVFHA.3176@TK2MSFTNGP12.phx.gbl...
>> 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.
>> --
>>
>> "RJ" <jackbobNOSPAM@hotmail.com> wrote in message
>> news:%234WGXGwVFHA.628@tk2msftngp13.phx.gbl...
>> > 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?
>> >
>> >
>>
>>
>
>


Syncing Time with Another Computer?