Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

W32 Time service 1

Status
Not open for further replies.

search66

IS-IT--Management
Apr 17, 2002
198
US
Here's a good one guys...

I'm trying to setup the time service on about 200 workstations. I've set up one of our BDC's to be the time server. I've also changed the settings on my workstation to test the functionality.

However, this is what happens. If I change the time to something incorrect and reboot; the time will always change to the right minutes, but four hours back... AND if it's AM it will change to PM and vice versa.

For example. It's 8:09am right now, but my PC clock says it's 4:09pm.

I thought it may be the wrong time zone, but the time server and my workstation both are set correctly. Any suggestions?
 
If the BDC was defined unambiguously as the auhtoritative time server, there are no ambiguities about the time zone settings between the BDC, its NTP time source, and the workstation settings, this will not happen.

Some setting is missing in the chain: time source -> authoritative time server ->workstation.

See:
How to configure an Authoritative Time source under Windows 2000

Registry entries for W32 time:

Basic Operations for the Windows Time Service:
 
I'll check those links and get back to you. It's funny though... If I do a "net time"; it shows the time server and the correct time.

Weird.
 
Yea, same deal... The docs you linked to, was basically what I followed before.

But another thing that's weird, is that if I restart the service on the workstation; the time get's corrected....
 
Look again at:
Basic Operation of the Windows Time Service

What it does is actually quite odd. It "adjusts" the system clock forward or ahead by introducing time shims to "slew" the local clock. This is genuinly amazing stuff.

It does not change the clock outright, it slows it down or "speeds" it up by increasing or slowing the frequency of the ACPI compliant clock chip.

No wonder if all else is correct, it works on the next reboot.

This is a genuinly amazing oddity of the NT kernel.
 
Yea, I just dunno.

I even bumped the time server, and that TOO changed to eight hours ahead and had to adjust the clock...

I'm at a loss.
 
Ok BD, I think I found the problem. This was grabbing the time from the authenticating server (which was wrong) and not the time server.

However, in the registry I have it point to the time server...
 
"NOTE: Administrators can also configure an internal time server as authoritative by using the net time command. If the administrator directs the command to the operations master, it may be necessary to reboot the server for the changes to take effect."


 
I saw that post to.. but what exactly is the "operations master"? And how would I direct any command to it... that confuses me
 
On the workstation, (you could do this through the logon script, but it honestly needs to be done only once):

After you set the SNTP time server as authoritative, run either of the following commands on a computer other than the domain controller to reset the local computer's time against the authoritative time server:

net time /your domain name /set

Type the following commands, pressing ENTER after each

net stop w32time
w32tm –once
net start w32time


More information about the net time command is available at a command prompt if you type the following command:
net time /?


 
I could put this in my logon script; but it won't work if you aren't an admin.

I wonder if I can push it with SD.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top