How to use a timeserver with Windows 2000

G

Guest

Hi all

I have a standalone PC running Windows 2000 which I want to be able to
synchronise the PC's clock with that of an ntp server on the Internet.

Can anyone help me and tell me how to achieve this using Windows
2000's own services and commands? I don't want to have to use a
programme to achieve this.

I've tried, manually changing the clock to an hour behind and
entering the following:
++++++++++++++++++++++++++
C:\>net start w32time
The Windows Time service is starting.
The Windows Time service was started successfully.

C:\>net time /setsntp:ntp.massey.ac.nz
The command completed successfully.
++++++++++++++++++++++++++

However, the clock on the PC has not altered at all.

What am I doing wrong?

Thanks
 
M

Marina Roos [SBS-MVP]

From the server with the commandprompt:
net time /setsntp:time.nist.gov (or any other public timeserver)
net stop w32time
w32tm -once -v
net start w32time

--
Regards,

Marina
Microsoft SBS-MVP

Rob Elder MVP-Networking said:
Time synch only occurs once per day. It won't change immediately.
 
G

Guest

Thanks for the reply.

Isn't there the facility to change the snyc period, even upon first
attempt at synchronising?

Thanks


Time synch only occurs once per day. It won't change immediately.
 
G

Guest

Thanks. It works a treat!!!


From the server with the commandprompt:
net time /setsntp:time.nist.gov (or any other public timeserver)
net stop w32time
w32tm -once -v
net start w32time
 
M

Marina Roos [SBS-MVP]

Sure, have a look at w32tm/?.

--
Regards,

Marina
Microsoft SBS-MVP

Thanks for the reply.

Isn't there the facility to change the snyc period, even upon first
attempt at synchronising?

Thanks
 
G

Guest

A slight problem I've found. When the date is behind on the PC's clock
it appears that the PC's clock won't sync either the time or date. Is
this a 'feature' or am I doing something wrong? It works fine if only
the time is adrift.

Thanks
 
M

Marina Roos [SBS-MVP]

Workstations should synchronize with the DC. From the commandprompt:
net setsntp:servername
w32tm -once -v
 
G

Guest

Thanks for the reply. I'm a little confused here - I am a newbie.
I am running a standalone PC using Windows 2000. I can time sync the
time, with the commands you kindly supplied:

++++++++++++++++++
net time /setsntp:time.nist.gov
net stop w32time
w32tm -once -v
net start w32time
++++++++++++++++++

but the date doesn't seem to snyc - I have manually put the date on
the PC back 1 day to test. Could you please clarify on what I should
do next?

Many thanks
 
G

Guest

Thank you for the reply.

Is there not any way to sync both the time and date then?

Thanks
 

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

Top