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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DST Fix didn't work

Status
Not open for further replies.

NotSoLucky

Technical User
Jan 11, 2005
58
US
Ok, call me a fool, but I did exactly what Microsoft said to do and the DST fix didn't work.

Now everybody is screaming about what is going to happen in April.

If I turn off the automatic time change feature, that should stop the April problem, correct?
 
As always MS sticks it to us. I went through the same issue. Apparently one of the timezone registry entries has to be refreshed in order for it to work. Some of the guys on other teams did the following; change the timezone to something else first and then change it back to your timezone. If that doesn work.... What I ended up doing is downloading the DST fix from the Intelliadmin website ( -- see other posts). Hope this helps.
 
MS clearly stated in their material that after you applied the registry fix to W2K systems that you had to change the timezone to any other, apply, then change the timezone back and apply. If you didn't do that, then you didn't follow their directions.

Don't blame them for your failures. Could they have just released the hotfix for all free of charge? Sure...but they didn't. They did, however, provide explicit detailed information on what to do instead. I read, watched and did exactly what they said and have had no issues.

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.
 
Well Dave I beg to differ. It wasn't the failure of a lot of admins, since a lot of us worked on this in January and I don't recall the documentation from MS indicating this at that time. Yes I saw there DST information was updated on March 5th to describe what you have indicated, but it my eyes it still doesn't let MS off the hook. I am glad it worked for you fine though, but NotSoLucky said he followed their instructions and it didn't work -- same here.
 
I did just that.
I applied the register fix.
I changed the time zone to Atlantic Time, applied and the changed it back to Easterm Time and applied.

It didn't work.

Did I need to reboot between the changes?

Maybe I clicked somehting wrong and didn't notice. But that would mean I clicked wrong multiple times.

I did have 2 NT 4 servers work correctly.

I am just going to disable the automatic daylight time update for now.

thanks everyone.
 
Differ all you'd like, I don't mind. The simple fact of the matter is that before March 5th MS's instructions were that you had to reset the time zone in order for the change to take effect. I did not review any more MS instructions last week because I was already in process of updating, so your March 5th date is not correct.



I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.
 
I had a problem this morning with TZ, but slightly different. Seems at least one of the TZ patches is retroactive, changing the time stamp on file created last year during the 3 week period.
I got one application that depends on timestamps to triger downloads. Well, today everyone got 200MB downloads of data they already had.
 
Hmmm...I'd say something else was happening. The time zone updates were simply registry changes as far as the OS is concerned. You sure something else didn't trigger from the change?

I'm Certifiable, not cert-ified.
It just means my answers are from experience, not a book.
 
I had same issue wether I changed the time zone or not (win2000srv), I'm in Pacific Standard. I also had issues with some Win2k3 servers not accepting the change when installing the KB Patch. Before the change my boss wanted me to verify that the change took place before hand, we must be Proactive!!!
Here is what I did and I've included the code if you wish to use it.
1. Wrote a VBScript that would enumerate all servers in our domain (2000 and 20003). The script reads a file called server.txt, which is a text file with all our server names in it; using the carriage return as the separator. The servernames are put into an array and then enumerated one at a time. I ran the script and output the report to a text file like so:
c:\cscript //nologo DSTCheck_v2.vbs > TimeZoneSettings.txt

Copy this code into notepad and save as DSTCheck_v2.vbs
Code:
'* FileName:  DSTcheck.vbs
'*=============================================================================
'* Script Name: [DSTcheck.vbs]
'* Created:     [03/07/2007]
'* Author:      Jesse Hamrick
'* Company:     xxxxxxxxxxx
'* Email:       JHmarick@whokilledkenny.net
'* Web:         xxxxxxxxx
'* Reqrmnts:    
'* Keywords:    
'*=============================================================================
'* Purpose: 	Script enumerates Daylight Savings Settings on Windows 2000,    
'* 				Windows 2003, and Windows XP systems.             
'*              
'*=============================================================================



'*=============================================================================
'* DECLARE VARIABLES
'*=============================================================================
On Error Resume Next
Const HKEY_LOCAL_MACHINE = &H80000002
Const ForReading = 1    
Dim objFSO
Dim objTextFile
Dim objWMIService
Dim strComputer
Dim arrComputers
Dim objItem
Dim colItems

'*=============================================================================
'* Code
'*=============================================================================


'Section 1: Reads the Server.txt file created by the Engineer and creates
'an Array.
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile _
    ("c:\Scripts\Server.txt", ForReading)
strText = objTextFile.ReadAll
arrComputers = Split(strText, VbCrLf)
objTextFile.Close



For Each strComputer In arrComputers
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
		If Err <> 0 Then
			WScript.Echo strComputer & ", " & Err.Description
			Err.Clear
		Else
Set colItems = objWMIService.ExecQuery("Select * from Win32_TimeZone")


	
For Each objItem In colItems
	WScript.Echo strComputer & ", " & "Month Begining: " & objItem.DaylightMonth & ", " &_
		"Month Ending: " & objItem.StandardMonth & ", " &_
		"Time Zone: " & objItem.Description
Next
End If
Next
'*=============================================================================
'* END OF SCRIPT
'*=============================================================================

Your server.txt file should look like.
Server1
Server2
Server3
Server4
etc...

The ouput file should look like this.
Server1, The remote server machine does not exist or is unavailable
Server2, Month Begining: 3, Month Ending: 11, Time Zone: (GMT-08:00) Pacific Time (US & Canada)
Server3, Month Begining: 3, Month Ending: 11, Time Zone: (GMT-08:00) Pacific Time (US & Canada)
Server4, Month Begining: 4, Month Ending: 10, Time Zone: (GMT-08:00) Pacific Time (US & Canada)

If the month begining and end is 4, 10 - Then TZedit or the KB patch is not working on your server.

To fix these servers I did the manual fix.
Copied the following into notepad and saved as TZChange.reg. The from the server, double clicked the reg file to install the time zone changes.
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Alaskan Standard Time]
"Display"="(GMT-09:00) Alaska"
"Dlt"="Alaskan Daylight Time"
"Std"="Alaskan Standard Time"
"MapID"="30,31"
"Index"=dword:00000003
"TZI"=hex:1c,02,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\Alaskan Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:1c,02,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:1c,02,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\Atlantic Standard Time]
"Display"="(GMT-04:00) Atlantic Time (Canada)"
"Dlt"="Atlantic Daylight Time"
"Std"="Atlantic Standard Time"
"MapID"="40,41"
"Index"=dword:00000032
"TZI"=hex:f0,00,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\Atlantic Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:f0,00,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:f0,00,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\AUS Eastern Standard Time]
"Display"="(GMT+10:00) Canberra, Melbourne, Sydney"
"Dlt"="AUS Eastern Daylight Time"
"Std"="AUS Eastern Standard Time"
"MapID"="20,21"
"Index"=dword:000000ff
"TZI"=hex:a8,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Azerbaijan Standard Time]
"TZI"=hex:10,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,05,00,00,\
  00,00,00,00,00,00,00,03,00,00,00,05,00,04,00,00,00,00,00,00,00
"Std"="Azerbaijan Standard Time"
"Dlt"="Azerbaijan Daylight Time"
"Display"="(GMT+04:00) Baku"
"Index"=dword:80000040

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Caucasus Standard Time]
"Display"="(GMT+04:00) Yerevan"
"Dlt"="Caucasus Daylight Time"
"Std"="Caucasus Standard Time"
"MapID"="8,9"
"Index"=dword:000000aa
"TZI"=hex:10,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Cen. Australia Standard Time]
"Display"="(GMT+09:30) Adelaide"
"Dlt"="Cen. Australia Daylight Time"
"Std"="Cen. Australia Standard Time"
"MapID"="-1,76"
"Index"=dword:000000fa
"TZI"=hex:c6,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Central Brazilian Standard Time]
"TZI"=hex:f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,05,00,00,00,00,\
  00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00
"Std"="Central Brazilian Standard Time"
"Dlt"="Central Brazilian Daylight Time"
"Display"="(GMT-04:00) Manaus"
"Index"=dword:80000048

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Central Brazilian Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,02,00,02,00,\
  00,00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00
"2007"=hex:f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,05,00,00,00,\
  00,00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Central Standard Time]
"Display"="(GMT-06:00) Central Time (US & Canada)"
"Dlt"="Central Daylight Time"
"Std"="Central Standard Time"
"MapID"="36,37"
"Index"=dword:00000014
"TZI"=hex:68,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\Central Standard Time (Mexico)]
"TZI"=hex:68,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
"Std"="Central Standard Time (Mexico)"
"Dlt"="Central Daylight Time (Mexico)"
"Display"="(GMT-06:00) Guadalajara, Mexico City, Monterrey - New"
"Index"=dword:80000043

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Central Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:68,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:68,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\E. Europe Standard Time]
"Display"="(GMT+02:00) Minsk"
"Dlt"="E. Europe Daylight Time"
"Std"="E. Europe Standard Time"
"MapID"="4,5"
"Index"=dword:00000073
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time]
"Display"="(GMT-03:00) Brasilia"
"Dlt"="E. South America Daylight Time"
"Std"="E. South America Standard Time"
"MapID"="-1,80"
"Index"=dword:00000041
"TZI"=hex:b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,05,00,00,00,00,\
  00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\E. South America Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,02,00,02,00,\
  00,00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00
"2007"=hex:b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,02,00,00,00,05,00,00,00,\
  00,00,00,00,00,00,00,00,0b,00,00,00,01,00,00,00,00,00,00,00,00,00

[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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Egypt Standard Time]
"Display"="(GMT+02:00) Cairo"
"Dlt"="Egypt Daylight Time"
"Std"="Egypt Standard Time"
"MapID"="4,68"
"Index"=dword:00000078
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,04,00,05,00,17,00,3b,\
  00,3b,00,00,00,00,00,04,00,04,00,05,00,17,00,3b,00,3b,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Georgian Standard Time]
"TZI"=hex:4c,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Std"="Georgian Standard Time"
"Dlt"="Georgian Daylight Time"
"Display"="(GMT+03:00) Tbilisi"
"Index"=dword:80000047

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Greenwich Standard Time]
"Display"="(GMT) Casablanca, Monrovia, Reykjavik"
"Dlt"="Greenwich Daylight Time"
"Std"="Greenwich Standard Time"
"MapID"="88,89"
"Index"=dword:0000005a
"TZI"=hex:00,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\GTB Standard Time]
"Display"="(GMT+02:00) Athens, Bucharest, Istanbul"
"Dlt"="GTB Daylight Time"
"Std"="GTB Standard Time"
"MapID"="-1,67"
"Index"=dword:00000082
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,04,00,00,\
  00,00,00,00,00,00,00,03,00,00,00,05,00,03,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Iran Standard Time]
"Display"="(GMT+03:30) Tehran"
"Dlt"="Iran Daylight Time"
"Std"="Iran Standard Time"
"MapID"="-1,72"
"Index"=dword:000000a0
"TZI"=hex:2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Iran Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d5
"LastEntry"=dword:000007d6
"2005"=hex:2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,02,00,04,00,02,00,\
  00,00,00,00,00,00,00,00,03,00,00,00,01,00,02,00,00,00,00,00,00,00
"2006"=hex:2e,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Israel Standard Time]
"Display"="(GMT+02:00) Jerusalem"
"Dlt"="Jerusalem Daylight Time"
"Std"="Jerusalem Standard Time"
"MapID"="-1,70"
"Index"=dword:00000087
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,00,00,03,00,02,00,00,\
  00,00,00,00,00,00,00,03,00,05,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Israel Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d4
"LastEntry"=dword:000007e7
"2004"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"2005"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d5,07,0a,00,00,00,09,00,02,00,\
  00,00,00,00,00,00,d5,07,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2006"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d6,07,0a,00,00,00,01,00,02,00,\
  00,00,00,00,00,00,d6,07,03,00,00,00,1f,00,02,00,00,00,00,00,00,00
"2007"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d7,07,09,00,00,00,10,00,02,00,\
  00,00,00,00,00,00,d7,07,03,00,00,00,1e,00,02,00,00,00,00,00,00,00
"2008"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d8,07,0a,00,00,00,05,00,02,00,\
  00,00,00,00,00,00,d8,07,03,00,00,00,1c,00,02,00,00,00,00,00,00,00
"2009"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,d9,07,09,00,00,00,1b,00,02,00,\
  00,00,00,00,00,00,d9,07,03,00,00,00,1b,00,02,00,00,00,00,00,00,00
"2010"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,da,07,09,00,00,00,0c,00,02,00,\
  00,00,00,00,00,00,da,07,03,00,00,00,1a,00,02,00,00,00,00,00,00,00
"2011"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,db,07,0a,00,00,00,02,00,02,00,\
  00,00,00,00,00,00,db,07,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2012"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,dc,07,09,00,00,00,17,00,02,00,\
  00,00,00,00,00,00,dc,07,03,00,00,00,1e,00,02,00,00,00,00,00,00,00
"2013"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,dd,07,09,00,00,00,08,00,02,00,\
  00,00,00,00,00,00,dd,07,03,00,00,00,1d,00,02,00,00,00,00,00,00,00
"2014"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,de,07,09,00,00,00,1c,00,02,00,\
  00,00,00,00,00,00,de,07,03,00,00,00,1c,00,02,00,00,00,00,00,00,00
"2015"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,df,07,09,00,00,00,14,00,02,00,\
  00,00,00,00,00,00,df,07,03,00,00,00,1b,00,02,00,00,00,00,00,00,00
"2016"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e0,07,0a,00,00,00,09,00,02,00,\
  00,00,00,00,00,00,e0,07,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2017"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e1,07,09,00,00,00,18,00,02,00,\
  00,00,00,00,00,00,e1,07,03,00,00,00,1f,00,02,00,00,00,00,00,00,00
"2018"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e2,07,09,00,00,00,10,00,02,00,\
  00,00,00,00,00,00,e2,07,03,00,00,00,1e,00,02,00,00,00,00,00,00,00
"2019"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e3,07,0a,00,00,00,06,00,02,00,\
  00,00,00,00,00,00,e3,07,03,00,00,00,1d,00,02,00,00,00,00,00,00,00
"2020"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e4,07,09,00,00,00,1b,00,02,00,\
  00,00,00,00,00,00,e4,07,03,00,00,00,1b,00,02,00,00,00,00,00,00,00
"2021"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e5,07,09,00,00,00,0c,00,02,00,\
  00,00,00,00,00,00,e5,07,03,00,00,00,1a,00,02,00,00,00,00,00,00,00
"2022"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,e6,07,0a,00,00,00,02,00,02,00,\
  00,00,00,00,00,00,e6,07,04,00,00,00,01,00,02,00,00,00,00,00,00,00
"2023"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Jordan Standard Time]
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,09,00,05,00,05,00,01,00,00,\
  00,00,00,00,00,00,00,03,00,04,00,05,00,00,00,00,00,00,00,00,00
"Std"="Jordan Standard Time"
"Dlt"="Jordan Daylight Time"
"Display"="(GMT+02:00) Amman"
"Index"=dword:80000042

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time] 
"Display"="(GMT-06:00) Guadalajara, Mexico City, Monterrey - Old" 
"Dlt"="Mexico Daylight Time" 
"Std"="Mexico Standard Time" 
"MapID"="-1,85" 
"Index"=dword:0000001e 
"TZI"=hex:68,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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2] 
"Display"="(GMT-07:00) Chihuahua, La Paz, Mazatlan - Old" 
"Dlt"="Mexico Daylight Time 2" 
"Std"="Mexico Standard Time 2" 
"MapID"="34,35" 
"Index"=dword:0000000d 
"TZI"=hex:a4,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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Middle East Standard Time]
"TZI"=hex:88,ff,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,06,00,05,00,17,00,3b,\
  00,3b,00,e7,03,00,00,03,00,00,00,05,00,00,00,00,00,00,00,00,00
"Std"="Middle East Standard Time"
"Dlt"="Middle East Daylight Time"
"Display"="(GMT+02:00) Beirut"
"Index"=dword:80000041

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Montevideo Standard Time]
"TZI"=hex:b4,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,02,00,02,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00
"Std"="Montevideo Standard Time"
"Dlt"="Montevideo Daylight Time"
"Display"="(GMT-03:00) Montevideo"
"Index"=dword:80000049

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mountain Standard Time]
"Display"="(GMT-07:00) Mountain Time (US & Canada)"
"Dlt"="Mountain Daylight Time"
"Std"="Mountain Standard Time"
"MapID"="34,35"
"Index"=dword:0000000a
"TZI"=hex:a4,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\Mountain Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:a4,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:a4,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\Mountain Standard Time (Mexico)]
"TZI"=hex:a4,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
"Std"="Mountain Standard Time (Mexico)"
"Dlt"="Mountain Daylight Time (Mexico)"
"Display"="(GMT-07:00) Chihuahua, La Paz, Mazatlan - New"
"Index"=dword:80000044

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Myanmar Standard Time]
"Display"="(GMT+06:30) Yangon (Rangoon)"
"Dlt"="Myanmar Daylight Time"
"Std"="Myanmar Standard Time"
"MapID"="-1,74"
"Index"=dword:000000cb
"TZI"=hex:7a,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Namibia Standard Time]
"TZI"=hex:88,ff,ff,ff,00,00,00,00,3c,00,00,00,00,00,09,00,00,00,01,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
"Std"="Namibia Standard Time"
"Dlt"="Namibia Daylight Time"
"Display"="(GMT+02:00) Windhoek"
"Index"=dword:80000046

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\New Zealand Standard Time]
"Display"="(GMT+12:00) Auckland, Wellington"
"Dlt"="New Zealand Daylight Time"
"Std"="New Zealand Standard Time"
"MapID"="78,79"
"Index"=dword:00000122
"TZI"=hex:30,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,03,00,03,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Newfoundland Standard Time]
"Display"="(GMT-03:30) Newfoundland"
"Dlt"="Newfoundland Daylight Time"
"Std"="Newfoundland Standard Time"
"MapID"="-1,81"
"Index"=dword:0000003c
"TZI"=hex:d2,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,0b,00,00,00,01,00,00,00,01,\
  00,00,00,00,00,00,00,03,00,00,00,02,00,00,00,01,00,00,00,00,00

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

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Pacific SA Standard Time]
"Display"="(GMT-04:00) Santiago"
"Dlt"="Pacific SA Daylight Time"
"Std"="Pacific SA Standard Time"
"MapID"="-1,82"
"Index"=dword:00000038
"TZI"=hex:f0,00,00,00,00,00,00,00,c4,ff,ff,ff,00,00,03,00,06,00,02,00,17,00,3b,\
  00,3b,00,e7,03,00,00,0a,00,06,00,02,00,17,00,3b,00,3b,00,e7,03

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Pacific Standard Time]
"Display"="(GMT-08:00) Pacific Time (US & Canada)"
"Dlt"="Pacific Daylight Time"
"Std"="Pacific Standard Time"
"MapID"="32,33"
"Index"=dword:00000004
"TZI"=hex:e0,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\Pacific Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d6
"LastEntry"=dword:000007d7
"2006"=hex:e0,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:e0,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\Pacific Standard Time (Mexico)]
"TZI"=hex:e0,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
"Std"="Pacific Standard Time (Mexico)"
"Dlt"="Pacific Daylight Time (Mexico)"
"Display"="(GMT-08:00) Tijuana, Baja California"
"Index"=dword:80000045

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\SA Pacific Standard Time]
"Display"="(GMT-05:00) Bogota, Lima, Quito, Rio Branco"
"Dlt"="SA Pacific Daylight Time"
"Std"="SA Pacific Standard Time"
"MapID"="-1,83"
"Index"=dword:0000002d
"TZI"=hex:2c,01,00,00,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Sri Lanka Standard Time]
"Display"="(GMT+05:30) Sri Jayawardenepura"
"Dlt"="Sri Lanka Daylight Time"
"Std"="Sri Lanka Standard Time"
"MapID"="-1,74"
"Index"=dword:000000c8
"TZI"=hex:b6,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Tasmania Standard Time]
"Display"="(GMT+10:00) Hobart"
"Dlt"="Tasmania Daylight Time"
"Std"="Tasmania Standard Time"
"MapID"="20,-1"
"Index"=dword:00000109
"TZI"=hex:a8,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,01,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\W. Australia Standard Time]
"Display"="(GMT+08:00) Perth"
"Dlt"="W. Australia Daylight Time"
"Std"="W. Australia Standard Time"
"MapID"="16,17"
"Index"=dword:000000e1
"TZI"=hex:20,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\W. Australia Standard Time\Dynamic DST]
"FirstEntry"=dword:000007d5
"LastEntry"=dword:000007d7
"2005"=hex:20,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"2006"=hex:20,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,d6,07,01,00,00,00,01,00,00,00,\
  00,00,00,00,00,00,d6,07,0c,00,05,00,01,00,02,00,00,00,00,00,00,00
"2007"=hex:20,fe,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,03,00,00,00,05,00,03,00,\
  00,00,00,00,00,00,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00

After installing the .reg file I ran the following VBScript that look at your Time Zone (make sure it is correct before running the script), and initializes the change.

copy this code into notepad and save as RefreshTZInfo.vbs. Just double-click to run.
Code:
Set objSh = CreateObject("WScript.Shell")

'Get the StandardName key of the current time zone
szStandardName = objSh.RegRead("HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\StandardName")

'Enumerate the subkeys in the time zone database
const HKEY_LOCAL_MACHINE = &H80000002
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
szTzsKeyPath = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones"
objReg.EnumKey HKEY_LOCAL_MACHINE, szTzsKeyPath, arrTzSubKeys

'Step through the time zones to find the matching Standard Name
szTzKey = "<Unknown>"
For Each subkey In arrTzSubKeys
    If (objSh.RegRead("HKLM\" & szTzsKeyPath & "\" & subkey & "\Std") = szStandardName) Then
        'Found matching StandardName, now store this time zone key name
        szTzKey = subkey
    End If
Next 

If szTzKey = "<Unknown>" Then
       'Write entry to the Application event log stating that the update has failed to execute
       objSh.LogEvent 1, "DST 2007 Registry Update and Refresh failed to execute on this computer.  Time zones failed to enumerate properly or matching time zone not found."
       Wscript.Quit 0
End If

'Launch control.exe to refresh time zone information using the TZ key name obtained above 
objSh.Run "control.exe timedate.cpl,,/Z" & szTzKey

'Get current display name of refreshed time zone
szCurrDispName = objSh.RegRead("HKLM\" & szTzsKeyPath & "\" & szTzKey & "\Display")

'Write entry to the Application event log stating that the update has executed
objSh.LogEvent 4, "DST 2007 Registry Update and Refresh has been executed on this computer." & chr(13) & chr(10) & chr(13) & chr(10) & "Current time zone is: " & szCurrDispName & "."

Your system (as far as OS) should be good to go and yes the change will occur in November as scheduled.

Phew!!! what a PITA
 
> Hmmm...I'd say something else was happening. The time zone updates were simply registry changes as far as the OS is concerned. You sure something else didn't trigger from the change?

Nothing else. I found confirmation online that the change to the timezone simply resets the dates on DST. So files created 3/10/2006 at 9:36AM now read 3/10/2006 10:36AM. Prior years the same way, but we had a major install on 3/10/2006 for this app, so nearly everything in this app has the "wrong" timestamp.
 
Here's my issue. Our LAN is fine, it only seems to be affecting 2003 servers in the DMZ between the firewall and our network.

2003 servers cannot map "TO" other 2003 or 2000 servers. But can map to NT servers

NT and 2000 servers can map "TO" 2003 servers

We notices a difference of 1 hour on our Network patching server as well.

If we log onto the 2003 servers and manually change by removing the "automatically change to daylight savings"> change the timezone> apply. Then changing back to the correct timzone and hitting apply then manually changing the hour. Everything works.

Wasn't that supposed to be the fix for TZI.exe? Is there a more permanent fix?
 
I take it your DMZ servers are members of your domain. You would not have a problem mapping to NT Servers as they are not dependent on the time stamp. It doesn't look like the fix installed on your server, no fault of your own, just MS dropped the ball on this one. I had issues with 2003 servers as well...
I provided a script above that will help you in determining if the patch was successful. I have modified it in the post so that you can run it against your DMZ server. Bear in mind that you must run the script locally on the server. If the begining month = 4 and ending month = 10 then the patch has failed. If that is the result you get, you can use the second part of the post above to maunually set your time zone on a 2003 server. I have used it, it works, try these on a test server if you feel uncomfortable with running scripts.

Modified for local use - checking DST config:
Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
        If Err <> 0 Then
            WScript.Echo strComputer & ", " & Err.Description
            Err.Clear
        Else
Set colItems = objWMIService.ExecQuery("Select * from Win32_TimeZone")


    
For Each objItem In colItems
    WScript.Echo strComputer & ", " & "Month Begining: " & objItem.DaylightMonth & ", " &_
        "Month Ending: " & objItem.StandardMonth & ", " &_
        "Time Zone: " & objItem.Description
Next
End If
Next
'*=============================================================================
'* END OF SCRIPT
'*=============================================================================

I know it is a long an drawn out post, but it is ment to help and assist....
 
Correction on the above script. Remove the Last "Next" just below the End If statement or the script will get an error and not run...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top