DST in Windows

K

KenB

Here's one for you:

What if you applied the patch, and see the correct time (and note that it
says "Eastern Daylight Time" on the date/time applet) and then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to be
1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again, until
the next reboot.

What can I do for this?! A portion of the clocks on my network are
displaying correctly, others are showing an hour off. No rhyme or reason to
it.

Thanks in advance!

Ken B
 
J

Joe Grover

Are you part of a domain? Do the domain controllers also have the DST
updates applied to them? You could be synching with servers that have their
own time incorrect.
 
J

John John

KenB said:
Here's one for you:

What if you applied the patch, and see the correct time (and note that it
says "Eastern Daylight Time" on the date/time applet) and then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to be
1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again, until
the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John
 
K

KenB

C:\Program Files\Windows Resource Kits\Tools>w32tm /resync /rediscover
Sending resync command to local computer...
The command completed successfully.

C:\Program Files\Windows Resource Kits\Tools>w32tm /monitor
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: -0.0247794s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]



C:\Program Files\Windows Resource Kits\Tools>
 
K

KenB

Joe Grover said:
Are you part of a domain? Do the domain controllers also have the DST
updates applied to them? You could be synching with servers that have
their own time incorrect.

Joe-

Yes, I do have 931836 applied to both DC's. Both DC's are displaying the
correct time (currently the time in the taskbar shows 11:53a Eastern
Daylight Time).

I was on that track, but the DC's showed the correct time and settings--it's
just on the workstations that the time isn't displaying right. It appears
that the UTC time behind it is correct--otherwise, the users would not be
able to login to their PC's.

Any other ideas?

Thanks

Ken
 
K

KenB

John John said:
_After_ you do the above and enter the correct time open a command prompt
and issue:

w32tm /resync /rediscover

What happens?

John

Just rebooted (had the correct time displayed as a result of doing the time
zone re-application I wrote about. It shows the time as 10:44 (an hour
earlier than it should be). If I issue the command you said, w32tm /resync
/rediscover , it says "Sending resync command to local computer... The
command completed seuccessfully." Yet, the time displayed is still an hour
back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min (UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1 DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April 1--the
old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start date/time
Second Sunday of March at 2a, end at First Sunday November at 2a).

Let me know if this helps you out... or if there's anythign else I should be
looking at.

Thanks

Ken
 
J

John John

And did the command cause the time to change or be readjusted?

John
C:\Program Files\Windows Resource Kits\Tools>w32tm /resync /rediscover
Sending resync command to local computer...
The command completed successfully.

C:\Program Files\Windows Resource Kits\Tools>w32tm /monitor
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: -0.0247794s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]



C:\Program Files\Windows Resource Kits\Tools>

_After_ you do the above and enter the correct time open a command prompt
and issue:

w32tm /resync /rediscover

What happens?

John
 
J

John John

KenB said:
_After_ you do the above and enter the correct time open a command prompt
and issue:

w32tm /resync /rediscover

What happens?

John


Just rebooted (had the correct time displayed as a result of doing the time
zone re-application I wrote about. It shows the time as 10:44 (an hour
earlier than it should be). If I issue the command you said, w32tm /resync
/rediscover , it says "Sending resync command to local computer... The
command completed seuccessfully." Yet, the time displayed is still an hour
back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min (UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1 DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April 1--the
old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start date/time
Second Sunday of March at 2a, end at First Sunday November at 2a).

Let me know if this helps you out... or if there's anythign else I should be
looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.

In the meantime use tzedit again and look at the ""Eastern Daylight
Time" Daylight Bias: It should be +1:00 hours. The information posted
above seems to show it as being set at -1:00 hours (Bias:-60min).

John
 
K

KenB

John John said:
KenB wrote:

Here's one for you:

What if you applied the patch, and see the correct time (and note that
it says "Eastern Daylight Time" on the date/time applet) and then
reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to be
1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again,
until the next reboot.

_After_ you do the above and enter the correct time open a command prompt
and issue:

w32tm /resync /rediscover

What happens?

John


Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44 (an
hour earlier than it should be). If I issue the command you said, w32tm
/resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November at
2a).

Let me know if this helps you out... or if there's anythign else I should
be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.

In the meantime use tzedit again and look at the ""Eastern Daylight Time"
Daylight Bias: It should be +1:00 hours. The information posted above
seems to show it as being set at -1:00 hours (Bias:-60min).

John

Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's baffling
to me!

Ken
 
A

arthurbk

KenB said:
KenB wrote:
Here's one for you:
What if you applied the patch, and see the correct time (and note that
it says "Eastern Daylight Time" on the date/time applet) and then
reboot?
I find the time displayed is 1hr off (backwards, so it's supposed to be
1:30, but displays 12:30).
So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again,
until the next reboot.
_After_ you do the above and enter the correct time open a command prompt
and issue:
w32tm /resync /rediscover
What happens?
John
Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44 (an
hour earlier than it should be). If I issue the command you said, w32tm
/resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.
If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)
If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]
Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November at
2a).
Let me know if this helps you out... or if there's anythign else I should
be looking at.
I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.
In the meantime use tzedit again and look at the ""Eastern Daylight Time"
Daylight Bias: It should be +1:00 hours. The information posted above
seems to show it as being set at -1:00 hours (Bias:-60min).

Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's baffling
to me!

Ken

I came across the exact same issue as Ken, out of 130 or so PC's here
only 1 of them is experiencing this problem. No resolution for it on
my end yet.
 
J

John John

KenB said:
KenB wrote:


Here's one for you:

What if you applied the patch, and see the correct time (and note that
it says "Eastern Daylight Time" on the date/time applet) and then
reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to be
1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again,
until the next reboot.

_After_ you do the above and enter the correct time open a command prompt
and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44 (an
hour earlier than it should be). If I issue the command you said, w32tm
/resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November at
2a).

Let me know if this helps you out... or if there's anythign else I should
be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.

In the meantime use tzedit again and look at the ""Eastern Daylight Time"
Daylight Bias: It should be +1:00 hours. The information posted above
seems to show it as being set at -1:00 hours (Bias:-60min).

John


Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's baffling
to me!

That isn't the problem. The Bias are shown "reversed" with w32tm.
Using tzedit shows GMT offset as -5:00 hours and Daylight offset as
+1:00 hours; w32tm shows it the other way around: 300min for GMT offset
and -60min for DST Bias. More or less comes to the same thing, just
that the tools display it differently.

These machines do not appear to be properly patched. W32tm should return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2 DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly patched
machine. From a known good machine you can export the complete key and
subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John
 
K

KenB

John John said:
KenB said:
KenB wrote:



KenB wrote:


Here's one for you:

What if you applied the patch, and see the correct time (and note that
it says "Eastern Daylight Time" on the date/time applet) and then
reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to
be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again,
until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44 (an
hour earlier than it should be). If I issue the command you said, w32tm
/resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November at
2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.

In the meantime use tzedit again and look at the ""Eastern Daylight Time"
Daylight Bias: It should be +1:00 hours. The information posted above
seems to show it as being set at -1:00 hours (Bias:-60min).

John


Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm. Using
tzedit shows GMT offset as -5:00 hours and Daylight offset as +1:00 hours;
w32tm shows it the other way around: 300min for GMT offset and -60min for
DST Bias. More or less comes to the same thing, just that the tools
display it differently.

These machines do not appear to be properly patched. W32tm should return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2 DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly patched
machine. From a known good machine you can export the complete key and
subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John
John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken
 
J

John John

KenB said:
KenB wrote:

KenB wrote:





KenB wrote:



Here's one for you:

What if you applied the patch, and see the correct time (and note that
it says "Eastern Daylight Time" on the date/time applet) and then
reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to
be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says "Eastern
Standard Time". Then I hit the Time Zone tab and change to another
timezone, and back immediately to Eastern. I make sure the Daylight
checkbox is checked. Hit Apply, and the time display correctly again,
until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44 (an
hour earlier than it should be). If I issue the command you said, w32tm
/resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November at
2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different servers,
that could have explained why some machines were off and others not.

In the meantime use tzedit again and look at the ""Eastern Daylight Time"
Daylight Bias: It should be +1:00 hours. The information posted above
seems to show it as being set at -1:00 hours (Bias:-60min).

John



Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm. Using
tzedit shows GMT offset as -5:00 hours and Daylight offset as +1:00 hours;
w32tm shows it the other way around: 300min for GMT offset and -60min for
DST Bias. More or less comes to the same thing, just that the tools
display it differently.

These machines do not appear to be properly patched. W32tm should return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2 DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly patched
machine. From a known good machine you can export the complete key and
subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John

John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken

Let's move up to the next registry key in the Windows time zone settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

This is the key that holds the *current* time zone settings for the
computer. When you select or change the time zone the information is
read from the key mentioned in my other post and _copied_ to the key
above. If changes are made in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones key the CurrentControlSet key has to be "refreshed" to reflect the
changes.

To make sure that the key contains no incorrect values and that the
values are properly recorded we will delete it then recreate it. Delete
the key and then use the Date/Time applet and reselect and reapply your
time zone. That will recreate the key and values for your time zone.
The values in this key should be _exactly_ identical to a known good
machines in the same time zone. Compare the key and values against
those from a good machine. Save (export) the key after you set the time
zone then check that the contents haven't changed after you reboot the
machine.

It is imperative that the keys and values in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

be correct! The newly created CurrentControlSet key will copy the
instruction from that key!

After you do this run the w32tm /tz command again and check the settings.

John
 
K

KenB

John John said:
KenB wrote:




KenB wrote:





KenB wrote:



Here's one for you:

What if you applied the patch, and see the correct time (and note
that it says "Eastern Daylight Time" on the date/time applet) and
then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to
be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says
"Eastern Standard Time". Then I hit the Time Zone tab and change to
another timezone, and back immediately to Eastern. I make sure the
Daylight checkbox is checked. Hit Apply, and the time display
correctly again, until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44
(an hour earlier than it should be). If I issue the command you said,
w32tm /resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November
at 2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different
servers, that could have explained why some machines were off and
others not.

In the meantime use tzedit again and look at the ""Eastern Daylight
Time" Daylight Bias: It should be +1:00 hours. The information posted
above seems to show it as being set at -1:00 hours (Bias:-60min).

John



Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm. Using
tzedit shows GMT offset as -5:00 hours and Daylight offset as +1:00
hours; w32tm shows it the other way around: 300min for GMT offset
and -60min for DST Bias. More or less comes to the same thing, just that
the tools display it differently.

These machines do not appear to be properly patched. W32tm should
return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2 DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly patched
machine. From a known good machine you can export the complete key and
subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John

John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken

Let's move up to the next registry key in the Windows time zone settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

This is the key that holds the *current* time zone settings for the
computer. When you select or change the time zone the information is read
from the key mentioned in my other post and _copied_ to the key above. If
changes are made in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Time Zones key the CurrentControlSet key has to be
"refreshed" to reflect the changes.

To make sure that the key contains no incorrect values and that the values
are properly recorded we will delete it then recreate it. Delete the key
and then use the Date/Time applet and reselect and reapply your time zone.
That will recreate the key and values for your time zone. The values in
this key should be _exactly_ identical to a known good machines in the
same time zone. Compare the key and values against those from a good
machine. Save (export) the key after you set the time zone then check
that the contents haven't changed after you reboot the machine.

It is imperative that the keys and values in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

be correct! The newly created CurrentControlSet key will copy the
instruction from that key!

After you do this run the w32tm /tz command again and check the settings.

John

John:
Here's what I got:
[Before deleting key]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:0000012c
"DisableAutoDaylightTimeSet"=dword:00000000

[After deleting key, and changing time zone to "refresh"]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:000000f0

I do notice the slight change in the Standard and Daylight starts--also in
the ActiveTimeBias. Weird thing after doing this, is that my PC clock says
the current time, less one hour, but also reports Eastern Daylight Time.
What's going on here?!

w32tm /tz reports the following:
Y:\>w32tm /tz
Time zone: Current:TIME_ZONE_ID_DAYLIGHT Bias: 300min (UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:3 D:2 DoW:0)]

As a side note, TZEDIT shows the correct settings.

Thanks again for your continued help!

Ken
 
J

John John

KenB said:
KenB said:
KenB wrote:






KenB wrote:







KenB wrote:




Here's one for you:

What if you applied the patch, and see the correct time (and note
that it says "Eastern Daylight Time" on the date/time applet) and
then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed to
be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says
"Eastern Standard Time". Then I hit the Time Zone tab and change to
another timezone, and back immediately to Eastern. I make sure the
Daylight checkbox is checked. Hit Apply, and the time display
correctly again, until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing the
time zone re-application I wrote about. It shows the time as 10:44
(an hour earlier than it should be). If I issue the command you said,
w32tm /resync /rediscover , it says "Sending resync command to local
computer... The command completed seuccessfully." Yet, the time
displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November
at 2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different
servers, that could have explained why some machines were off and
others not.

In the meantime use tzedit again and look at the ""Eastern Daylight
Time" Daylight Bias: It should be +1:00 hours. The information posted
above seems to show it as being set at -1:00 hours (Bias:-60min).

John



Odd... If I manually do the re-application of time zone, and display the
correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm. Using
tzedit shows GMT offset as -5:00 hours and Daylight offset as +1:00
hours; w32tm shows it the other way around: 300min for GMT offset
and -60min for DST Bias. More or less comes to the same thing, just that
the tools display it differently.

These machines do not appear to be properly patched. W32tm should
return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2 DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly patched
machine. From a known good machine you can export the complete key and
subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John


John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken

Let's move up to the next registry key in the Windows time zone settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

This is the key that holds the *current* time zone settings for the
computer. When you select or change the time zone the information is read
from the key mentioned in my other post and _copied_ to the key above. If
changes are made in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Time Zones key the CurrentControlSet key has to be
"refreshed" to reflect the changes.

To make sure that the key contains no incorrect values and that the values
are properly recorded we will delete it then recreate it. Delete the key
and then use the Date/Time applet and reselect and reapply your time zone.
That will recreate the key and values for your time zone. The values in
this key should be _exactly_ identical to a known good machines in the
same time zone. Compare the key and values against those from a good
machine. Save (export) the key after you set the time zone then check
that the contents haven't changed after you reboot the machine.

It is imperative that the keys and values in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones

be correct! The newly created CurrentControlSet key will copy the
instruction from that key!

After you do this run the w32tm /tz command again and check the settings.

John


John:
Here's what I got:
[Before deleting key]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:0000012c
"DisableAutoDaylightTimeSet"=dword:00000000

[After deleting key, and changing time zone to "refresh"]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:000000f0

I do notice the slight change in the Standard and Daylight starts--also in
the ActiveTimeBias. Weird thing after doing this, is that my PC clock says
the current time, less one hour, but also reports Eastern Daylight Time.
What's going on here?!

w32tm /tz reports the following:
Y:\>w32tm /tz
Time zone: Current:TIME_ZONE_ID_DAYLIGHT Bias: 300min (UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:3 D:2 DoW:0)]

As a side note, TZEDIT shows the correct settings.

Thanks again for your continued help!

These (after delete & recreate) are the correct registry values for the
Eastern (US & Canada) Time Zone. The w32tm /tz command returns the
correct and proper values for the selected time zone. What happens if
you adjust the Clock to the correct time and reboot?

John
 
K

KenB

John John said:
KenB said:
KenB wrote:



KenB wrote:






KenB wrote:







KenB wrote:




Here's one for you:

What if you applied the patch, and see the correct time (and note
that it says "Eastern Daylight Time" on the date/time applet) and
then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed
to be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says
"Eastern Standard Time". Then I hit the Time Zone tab and change
to another timezone, and back immediately to Eastern. I make sure
the Daylight checkbox is checked. Hit Apply, and the time display
correctly again, until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing
the time zone re-application I wrote about. It shows the time as
10:44 (an hour earlier than it should be). If I issue the command
you said, w32tm /resync /rediscover , it says "Sending resync
command to local computer... The command completed seuccessfully."
Yet, the time displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November
at 2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different
servers, that could have explained why some machines were off and
others not.

In the meantime use tzedit again and look at the ""Eastern Daylight
Time" Daylight Bias: It should be +1:00 hours. The information
posted above seems to show it as being set at -1:00 hours
(Bias:-60min).

John



Odd... If I manually do the re-application of time zone, and display
the correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm.
Using tzedit shows GMT offset as -5:00 hours and Daylight offset as
+1:00 hours; w32tm shows it the other way around: 300min for GMT offset
and -60min for DST Bias. More or less comes to the same thing, just
that the tools display it differently.

These machines do not appear to be properly patched. W32tm should
return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2
DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly
patched machine. From a known good machine you can export the complete
key and subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John


John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken

Let's move up to the next registry key in the Windows time zone settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

This is the key that holds the *current* time zone settings for the
computer. When you select or change the time zone the information is
read from the key mentioned in my other post and _copied_ to the key
above. If changes are made in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones key the CurrentControlSet key has to be "refreshed" to reflect the
changes.

To make sure that the key contains no incorrect values and that the
values are properly recorded we will delete it then recreate it. Delete
the key and then use the Date/Time applet and reselect and reapply your
time zone. That will recreate the key and values for your time zone. The
values in this key should be _exactly_ identical to a known good machines
in the same time zone. Compare the key and values against those from a
good machine. Save (export) the key after you set the time zone then
check that the contents haven't changed after you reboot the machine.

It is imperative that the keys and values in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

be correct! The newly created CurrentControlSet key will copy the
instruction from that key!

After you do this run the w32tm /tz command again and check the settings.

John


John:
Here's what I got:
[Before deleting key]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:0000012c
"DisableAutoDaylightTimeSet"=dword:00000000

[After deleting key, and changing time zone to "refresh"]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:000000f0

I do notice the slight change in the Standard and Daylight starts--also
in the ActiveTimeBias. Weird thing after doing this, is that my PC clock
says the current time, less one hour, but also reports Eastern Daylight
Time. What's going on here?!

w32tm /tz reports the following:
Y:\>w32tm /tz
Time zone: Current:TIME_ZONE_ID_DAYLIGHT Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:3 D:2
DoW:0)]

As a side note, TZEDIT shows the correct settings.

Thanks again for your continued help!

These (after delete & recreate) are the correct registry values for the
Eastern (US & Canada) Time Zone. The w32tm /tz command returns the
correct and proper values for the selected time zone. What happens if you
adjust the Clock to the correct time and reboot?

John

If I delete that regkey and reboot, it displays an hour back. I went into
Time/Date and it showed Eastern Standard Time. I was able to hit Time Zone
and hit up/down apply, and it shows the correct time now. But that's until
the next reboot.

Are there any other reg keys that could be having an effect on the time zone
selection and daylight operations?

Ken
 
J

John John

KenB said:
Here's one for you:

What if you applied the patch, and see the correct time (and note
that it says "Eastern Daylight Time" on the date/time applet) and
then reboot?

I find the time displayed is 1hr off (backwards, so it's supposed
to be 1:30, but displays 12:30).

So I go back into the Date/Time applet, and find that it says
"Eastern Standard Time". Then I hit the Time Zone tab and change
to another timezone, and back immediately to Eastern. I make sure
the Daylight checkbox is checked. Hit Apply, and the time display
correctly again, until the next reboot.

_After_ you do the above and enter the correct time open a command
prompt and issue:

w32tm /resync /rediscover

What happens?

John



Just rebooted (had the correct time displayed as a result of doing
the time zone re-application I wrote about. It shows the time as
10:44 (an hour earlier than it should be). If I issue the command
you said, w32tm /resync /rediscover , it says "Sending resync
command to local computer... The command completed seuccessfully."
Yet, the time displayed is still an hour back.

If I do:
c:\w32tm /tz, I get:
Time zone: Current:TIME_ZONE_ID_STANDARD Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:10 D:5
DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:4 D:1
DoW:0)]
(this almost looks like the rule is set for month 4, day 1 (so April
1--the old rule)

If I do:
c:\w32tm /monitor, I get:
trcdc01.trc.CW.LOCAL [120.0.0.151]:
ICMP: 0ms delay.
NTP: +0.0192818s offset from trcdc02.trc.CW.LOCAL
RefID: trcdc02.trc.CW.LOCAL [120.0.0.158]
trcdc02.trc.CW.LOCAL *** PDC *** [120.0.0.158]:
ICMP: 0ms delay.
NTP: +0.0000000s offset from trcdc02.trc.CW.LOCAL
RefID: shlroot01.cw.local [10.7.226.125]

Opening tzedit shows the correct rules (Daylight Saving Time Start
date/time Second Sunday of March at 2a, end at First Sunday November
at 2a).

Let me know if this helps you out... or if there's anythign else I
should be looking at.

I'm going to have to think about this and do some searching. I was
thinking that the computers might be synchronizing to different
servers, that could have explained why some machines were off and
others not.

In the meantime use tzedit again and look at the ""Eastern Daylight
Time" Daylight Bias: It should be +1:00 hours. The information
posted above seems to show it as being set at -1:00 hours
(Bias:-60min).

John



Odd... If I manually do the re-application of time zone, and display
the correct time, TZEdit shows the right rule (+1:00), but wm32tm /tz
shows -60... there's a discrepancy /somewhere/

I appreciate your efforts in finding the solution on this... it's
baffling to me!

That isn't the problem. The Bias are shown "reversed" with w32tm.
Using tzedit shows GMT offset as -5:00 hours and Daylight offset as
+1:00 hours; w32tm shows it the other way around: 300min for GMT offset
and -60min for DST Bias. More or less comes to the same thing, just
that the tools display it differently.

These machines do not appear to be properly patched. W32tm should
return:

[Standard Name:”Eastern Standard Time” Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:”Eastern Daylight Time” Bias:-60min Date:(M:3 D:2
DoW:0)]

Compare these keys on a faulty machine:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time]
"Display"="(GMT-05:00) Eastern Time (US & Canada)"
"Dlt"="Eastern Daylight Time"
"Std"="Eastern Standard Time"
"MapID"="38,39"
"Index"=dword:00000023
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,00,\
00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones\Eastern Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,02,00,\
00,00,00,00,00,00,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,02,00,\
00,00,00,00,00,00,00,00,03,00,00,00,02,00,02,00,00,00,00,00,00,00

These are the proper Eastern Standard Time values for a properly
patched machine. From a known good machine you can export the complete
key and subkeys at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

and import it into the registry of a faulty machine. Then reapply the
time zone settings via the Date/Time applet and see if things correct
themselves.

John


John-

Checked my machine in a state where it's displaying an hour behind (says
3:19p when it should be 4:19p) All the reg keys matched up to what you
posted... weird! What's scarier--what's to happen 4/1, when DST was
supposed to happen? --but that's for another posting ;0

Thanks

Ken

Let's move up to the next registry key in the Windows time zone settings:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation

This is the key that holds the *current* time zone settings for the
computer. When you select or change the time zone the information is
read from the key mentioned in my other post and _copied_ to the key
above. If changes are made in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones key the CurrentControlSet key has to be "refreshed" to reflect the
changes.

To make sure that the key contains no incorrect values and that the
values are properly recorded we will delete it then recreate it. Delete
the key and then use the Date/Time applet and reselect and reapply your
time zone. That will recreate the key and values for your time zone. The
values in this key should be _exactly_ identical to a known good machines
in the same time zone. Compare the key and values against those from a
good machine. Save (export) the key after you set the time zone then
check that the contents haven't changed after you reboot the machine.

It is imperative that the keys and values in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time
Zones

be correct! The newly created CurrentControlSet key will copy the
instruction from that key!

After you do this run the w32tm /tz command again and check the settings.

John


John:
Here's what I got:
[Before deleting key]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:0000012c
"DisableAutoDaylightTimeSet"=dword:00000000

[After deleting key, and changing time zone to "refresh"]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:000000f0

I do notice the slight change in the Standard and Daylight starts--also
in the ActiveTimeBias. Weird thing after doing this, is that my PC clock
says the current time, less one hour, but also reports Eastern Daylight
Time. What's going on here?!

w32tm /tz reports the following:
Y:\>w32tm /tz
Time zone: Current:TIME_ZONE_ID_DAYLIGHT Bias: 300min
(UTC=LocalTime+Bias)
[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:3 D:2
DoW:0)]

As a side note, TZEDIT shows the correct settings.

Thanks again for your continued help!

These (after delete & recreate) are the correct registry values for the
Eastern (US & Canada) Time Zone. The w32tm /tz command returns the
correct and proper values for the selected time zone. What happens if you
adjust the Clock to the correct time and reboot?

John


If I delete that regkey and reboot, it displays an hour back. I went into
Time/Date and it showed Eastern Standard Time. I was able to hit Time Zone
and hit up/down apply, and it shows the correct time now. But that's until
the next reboot.

Are there any other reg keys that could be having an effect on the time zone
selection and daylight operations?

So, the key reads:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"StandardName"="Eastern Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="Eastern Daylight Time"
"DaylightBias"=dword:ffffffc4
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:000000f0

and running w32tm /tz returns:

[Standard Name:"Eastern Standard Time" Bias:0min Date:(M:11 D:1 DoW:0)]
[Daylight Name:"Eastern Daylight Time" Bias:-60min Date:(M:3 D:2 DoW:0)]

Right? You adjust the clock to the right time, shut down the computer
(without deleting anything!) and reboot. The time is off 1 hour, right?
Did the values in the registry key change when you rebooted? Does the
w32tm /tz command still show the correct information? If all the
information is correct, adjust the time again and then isuue the resync
command w32tm /resync /rediscover Does the time change?

John
 

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