Is there a 2000 equivalent for this XP command?

G

Guest

@echo off

w32tm /config /syncfromflags:DOMHIER /update

net stop w32time
net start w32time

w32tm /resync /rediscover

exit

-------------------------
I tried it on a W2K Pro box and quickly realized it wouldn't work. The only
other option I saw for 2K involved deleting keys from the registry, which I
can do if necessary, but would prefer a batch solution if possible. I need
to get my 2k boxes off the separate time server and back to getting their
time from the DC's. Thanks.
 
L

Lanwench [MVP - Exchange]

- said:
@echo off

w32tm /config /syncfromflags:DOMHIER /update

net stop w32time
net start w32time

w32tm /resync /rediscover

exit

-------------------------
I tried it on a W2K Pro box and quickly realized it wouldn't work. The
only other option I saw for 2K involved deleting keys from the
registry, which I can do if necessary, but would prefer a batch
solution if possible. I need to get my 2k boxes off the separate
time server and back to getting their time from the DC's. Thanks.

Not sure of the specifics, but how did the clients end up with anything
else? By default, a Win2k/XP box gets its time from the PDC emulator.

What do you see when you type :

net time /querysntp

.... on a client?

Some references -
http://support.microsoft.com/kb/224799
 
G

Guest

Our machine images were reconfigured to talk to an NTP server (fortunately
at least, it's the same NTP server the forest root uses anyway) but it's not
a great configuration and the process was thankfully ceased. But, I need to
do cleanup on the older boxes and get them back to default settings. My
script works beautifully on XP machines, but I went to run it on a 2K box
and quickly realized it didn't work on 2K boxes, which, unfortunately, are
the bulk of the deskstops that need to be remediated. I did have another
script but I was hoping to avoid having to merge registry keys, because the
XP script didn't require that, but I'm not sure if it will be possible.


"Lanwench [MVP - Exchange]"
 
G

Guest

So can I reset my W2K desktops back to using the PDC using a script?

Our machine images were reconfigured to talk to an NTP server (fortunately
at least, it's the same NTP server the forest root uses anyway) but it's
not a great configuration and the process was thankfully ceased. But, I
need to do cleanup on the older boxes and get them back to default
settings. My script works beautifully on XP machines, but I went to run
it on a 2K box and quickly realized it didn't work on 2K boxes, which,
unfortunately, are the bulk of the deskstops that need to be remediated.
I did have another script but I was hoping to avoid having to merge
registry keys, because the XP script didn't require that, but I'm not sure
if it will be possible.


"Lanwench [MVP - Exchange]"
Not sure of the specifics, but how did the clients end up with anything
else? By default, a Win2k/XP box gets its time from the PDC emulator.

What do you see when you type :

net time /querysntp

... on a client?

Some references -
http://support.microsoft.com/kb/224799
 
E

Enkidu

Like Lanwench said, what do you get when you use the 'net time' command?

(See in her reply)

Cheers,

Cliff

- said:
Our machine images were reconfigured to talk to an NTP server (fortunately
at least, it's the same NTP server the forest root uses anyway) but it's not
a great configuration and the process was thankfully ceased. But, I need to
do cleanup on the older boxes and get them back to default settings. My
script works beautifully on XP machines, but I went to run it on a 2K box
and quickly realized it didn't work on 2K boxes, which, unfortunately, are
the bulk of the deskstops that need to be remediated. I did have another
script but I was hoping to avoid having to merge registry keys, because the
XP script didn't require that, but I'm not sure if it will be possible.


"Lanwench [MVP - Exchange]"
Not sure of the specifics, but how did the clients end up with anything
else? By default, a Win2k/XP box gets its time from the PDC emulator.

What do you see when you type :

net time /querysntp

... on a client?

Some references -
http://support.microsoft.com/kb/224799
 
G

Guest

I get ntp.xxxx.org where the xxxx is our forest root name.


Enkidu said:
Like Lanwench said, what do you get when you use the 'net time' command?

(See in her reply)

Cheers,

Cliff

- said:
Our machine images were reconfigured to talk to an NTP server
(fortunately at least, it's the same NTP server the forest root uses
anyway) but it's not a great configuration and the process was thankfully
ceased. But, I need to do cleanup on the older boxes and get them back
to default settings. My script works beautifully on XP machines, but I
went to run it on a 2K box and quickly realized it didn't work on 2K
boxes, which, unfortunately, are the bulk of the deskstops that need to
be remediated. I did have another script but I was hoping to avoid
having to merge registry keys, because the XP script didn't require that,
but I'm not sure if it will be possible.


"Lanwench [MVP - Exchange]"
- wrote:
@echo off

w32tm /config /syncfromflags:DOMHIER /update

net stop w32time
net start w32time

w32tm /resync /rediscover

exit

-------------------------
I tried it on a W2K Pro box and quickly realized it wouldn't work. The
only other option I saw for 2K involved deleting keys from the
registry, which I can do if necessary, but would prefer a batch
solution if possible. I need to get my 2k boxes off the separate
time server and back to getting their time from the DC's. Thanks.
Not sure of the specifics, but how did the clients end up with anything
else? By default, a Win2k/XP box gets its time from the PDC emulator.

What do you see when you type :

net time /querysntp

... on a client?

Some references -
http://support.microsoft.com/kb/224799
 
E

Enkidu

Looks like you are already using the forest root as time source. But I
could be wrong.

Cheers,

Cliff

- said:
I get ntp.xxxx.org where the xxxx is our forest root name.


Enkidu said:
Like Lanwench said, what do you get when you use the 'net time' command?

(See in her reply)

- said:
Our machine images were reconfigured to talk to an NTP server
(fortunately at least, it's the same NTP server the forest root uses
anyway) but it's not a great configuration and the process was thankfully
ceased. But, I need to do cleanup on the older boxes and get them back
to default settings. My script works beautifully on XP machines, but I
went to run it on a 2K box and quickly realized it didn't work on 2K
boxes, which, unfortunately, are the bulk of the deskstops that need to
be remediated. I did have another script but I was hoping to avoid
having to merge registry keys, because the XP script didn't require that,
but I'm not sure if it will be possible.


"Lanwench [MVP - Exchange]"
message - wrote:
@echo off

w32tm /config /syncfromflags:DOMHIER /update

net stop w32time
net start w32time

w32tm /resync /rediscover

exit

-------------------------
I tried it on a W2K Pro box and quickly realized it wouldn't work. The
only other option I saw for 2K involved deleting keys from the
registry, which I can do if necessary, but would prefer a batch
solution if possible. I need to get my 2k boxes off the separate
time server and back to getting their time from the DC's. Thanks.
Not sure of the specifics, but how did the clients end up with anything
else? By default, a Win2k/XP box gets its time from the PDC emulator.

What do you see when you type :

net time /querysntp

... on a client?

Some references -
http://support.microsoft.com/kb/224799
 

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