W2k: Uhr stellen nach PTB

Hallo allerseits,

klingt einfach: Uhr nach PTB-Zeit stellen. Aber: Ich habe es mit ‚w32tm -once‘ versucht. Scheint auch zu gehen (Server etc. korrekt eingetragen), so lange die Uhr nach geht. Aber wenn die Systemuhr wenige Sekunden oder Minuten vor geht, stellt w32tm die Uhr nicht. Warum nicht?
Getestet unter W2k SP2 und SP4. Die Rechner stehen allein, kein Netzwerk, nur Internet via DSL. Timeserver ist eingestellt (net time setsntp:stuck_out_tongue:tbtime1.ptb.de).
Probiert das mal!
Es gibt zwar eine Menge Programme, die man installieren kann, aber warum geht das Hausmittel nicht? Mein Fehler?

Lösung: Welches Programm kann noch die Uhr mittels Kommandozeile stellen? Ich will keine bunten Fenster haben. Kennt jemand schon eines?

bye
Micha

Hi!

Also mit meinem blanken Test-Windows-2000 ohne SPs geht es nach Deiner Methode wunderbar auch wenn die Uhr vorgeht!

Ich lade gerade mal SP4 runter und versuchs nochmal. Melde mich dann wieder…

Grüße

Marco

OK - habs nochmal mit SP4 versucht. Auch da geht es wunderbar - auch wenn die Uhr vorgeht. Ich habe allerdings bemerkt, daß er die Uhr nicht umstellt, wenn mehr als 12 Stunden Differenz bestehen…

Marco

Hi Marco,

man, was mache ich da nur verkehrt? Kann ja auch nur an mir liegen, habe schon alle möglichen Win-Seiten durchsucht. Aber inzwischen habe ich schon 3 Win2k-PCs damit getestet. Es geht mit keinem richtig! Immer nur eine Richtung.

Kannst Du mir vielleicht mal den Registry-Auszug schicken:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time

Danke schon mal!

bye
Micha

Hi nochmal,

also die Mail mit dem Registry-Ausschnitt ist raus. Was meldet W32tm denn? Die Ausgabe ist ja eigentlich recht ausführlich…

Marco

Hi Marco, ich nochmal.

Was meldet
W32tm denn? Die Ausgabe ist ja eigentlich recht ausführlich…

Tonnenweise Infos. Teilweise recht eindeutig. Man beachte vor allem den Eintrag „time was“ und „time is“, wobei das „time is“ eine Lüge ist. Die Win-Uhr macht sich absolut nix draus und bleibt tapfer auf „time was“. Stelle ich die Uhr nach, sieht es ähnlich aus, nur das dann „time is“ die stimmt.

bye
Micha


C:\>w32tm -once
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 100144 , Incr 100144 fAdjust 1
W32Time: END:Line 2476
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 100144
W32Time: CurrentTime = 100144
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 752
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2569
W32Time: BEGIN:InitTmData
W32Time: END:Line 2591
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - ptbtime1.ptb.de
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 100144 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1273
W32Time: END:Line 842
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is ‚workstation‘
W32Time: END Line 670
W32Time: END:Line 702
W32Time: timeBeginPeriod: setting resolution 9
W32Time: BEGIN:TimeSync
W32Time: BEGIN:FGetType
W32Time: END Line 253
W32Time: BEGIN:FDoTimeNTPType
W32Time: BEGIN:ChooseNTPServer
W32Time: END Line 2153
W32Time: BEGIN:GetSocketForSynch
W32Time: NTP: ntpptrs[0] - PTBTIME1.PTB.DE
W32Time: rgbNTPServer PTBTIME1.PTB.DE
W32Time: Port Pinging to - 123
W32Time: Connecting to „PTBTIME1.PTB.DE“ (192.53.103.103)
W32Time: END:Line 1148
W32Time: BEGIN:GetDefaultRid
W32Time: END Line 2332
W32Time: BEGIN:ComputeDelay
W32Time: BEGIN:NTPTry – init
W32Time: END Line 1661
W32Time: BEGIN:NTPTry – try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2452
W32Time: Sending to server 48 bytes…
W32Time: Recv’ed from server 48 Bytes…
W32Time: END Line 1862
W32Time: BEGIN:NTPTry – delay
W32Time: END Line 1987
W32Time: Round trip was 70ms
W32Time: BEGIN:NTPTry – try
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2452
W32Time: Sending to server 48 bytes…
W32Time: Recv’ed from server 48 Bytes…
W32Time: END Line 1862
W32Time: BEGIN:NTPTry – delay
W32Time: END Line 1987
W32Time: Round trip was 70ms
W32Time: BEGIN:NTPTry – gettime
W32Time: BEGIN:Fgmtimetonttime
W32Time: END Line 2536
W32Time: END Line 1973
W32Time: one-way delay is 35ms
W32Time: END Line 1623
W32Time: END Line 367
W32Time: BEGIN:TimeDiff
W32Time: ClockError -59830
W32Time: END Line 2515
W32Time: BEGIN:FCheckTimeSanity
W32Time: END Line 548
W32Time: BEGIN:SetTimeNow
W32Time: Skewing for backwards, badj, btime = 25036 79773
W32Time: END Line 1258
W32Time: Time was 54min 14.003s
W32Time: Time is 53min 14.173s
W32Time: Error 59830ms
W32Time: BEGIN:CheckLeapFlag
W32Time: END:Line 584
W32Time: BEGIN:ComputePostTimeData
W32Time: BEGIN:ComputeInterval
W32Time: END Line 2452
W32Time: BEGIN:ComputeSleepStuff
W32Time: Computed stagger is 0ms, bias is 0ms
W32Time: Time until next sync - 2699.960s
W32Time: END:Line 794
W32Time: END:Line 220
W32Time: END:Line 195
W32Time: BEGIN:TermTime
W32Time: TimeMMCleanup()
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1385
W32Time: Time service stopped.
W32Time: END:Line 407