Discussion Locked

net time command not functioning

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to set my Windows 2000 domain controller to the US Naval Observatory clock by using the "net time /setsntp:192.5.41.209" command in a DOS window. It comes back immediately and says the command completed successfully, but it doesn't do anything. It doesn't dial out to the specified address. (In fact, the result is the same no matter what address I use!). Apparently, nothing is executing. Anyone got any ideas why?

4 replies

by ntoz

This sets the time server, now run w32tm -once from a command prompt.

Pete

by ntoz

w32tm will show you what the w32time service does once you set the time. It also forces sync at the time you run it. If you cant get the above script to run, you might have to stop the time service to do it.

Pete

by ntoz

By default, when you start W32Time, the service synchronizes system time every 45 minutes until the time successfully synchronizes (i.e., the local system time matches the time source's time) three times. Thereafter, the service synchronizes every 8hours. If you want the computer to synchronize time every hour, you can change the Period parameter from the default REG_SZ string value SpecialSkew to REG_DWORD decimal value 24. You can also use a W32Time understandable string value to define synchronization frequency in the Period parameter. For example, you can set DailySpecialSkew to synchronize system time every 45 minutes until successful, then to synchronize once daily; WeeklySpecialSkew to synchronize every 7 days; TridailySpecialSkew to synchronize every 3 days; and BidailySpecialSkew to synchronize every 2 days.

by shanghai sam

Thanks for the answer which has helped my understanding somewhat. I can't get w32tm to tell me anything however, whether the time service is stopped or not. Secondly, I did successfully get the time service dialing out to do a synch but it's doingit far too often. Your comments here about changing the synch interval are not understandable to me. Where can the Period parameter be located so I can set it? I would like to set it to synch once every 7 days (WeeklySpecialSkew). Can you be more specific, or has someone written a TechRepublic article all about this so I can follow explicit instructions? Pardon my lack of understanding.

This discussion is closed to new replies.