W2K time service.

OutHouse

Lifer
Jun 5, 2000
36,410
616
126
i am trying to change the machine that our servers get its synced time from. i know the command

1. net stop w32time
2. net time /setsntp:XXX.XX.X.XX
3. net start w32time

I do this and when i type net time, it still list the time server.

what am I doing wrong?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
a) I don't believe you need to do the stop and start, you should be able to do /setsntp while it's running
b) If your on a domain, the domain settings are going to override a specific setsntp except for the domain controllers (I believe)
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
a: A restart of the w32time service is required for all config changs on Windows 2000. 2003 and XP do not have this requirement.
b: Domain settings do not override the sntp setting, unless you configure a GPO that explicitly configures time. When you use the setsntp command it change the Type registry value to NTP instead of NT5DS. NT5DS is what makes a machine use the built in AD hierarchy to sync time.

That said, my question has to do with this:

I do this and when i type net time, it still list the time server.

This is not clear at all to me. Are you running net time /querysntp? What time server is it listing?

Also, is this machine a member of a an AD? If so, why are you changing it in the first place?