Jump to content

Windows 98se and daylight saving time change


Fozj

Recommended Posts

Could someone with knowledge point me to a downloadable patch for Windows 98SE, to fix the new Daylight Savings Time that goes into effect this weekend? I found some on Google, but I'm not sure they are safe to download??

Thanks, Foz

Link to comment
Share on other sites


Could someone with knowledge point me to a downloadable patch for Windows 98SE, to fix the new Daylight Savings Time that goes into effect this weekend? I found some on Google, but I'm not sure they are safe to download??

Thanks, Foz

Try this one [tested, works fine]:

http://www.mdgx.com/add.htm#TZU

respectively this file:

Unofficial DST Update for Windows 95/OSR1/OSR2/98/98 SP1/98 SE/ME [68 KB, English]:

http://www.mdgx.com/files/Q931836.EXE

HTH

Link to comment
Share on other sites

MDGx's unofficial Q931836 DST patch for Win9xME systems IS SAFE to use, Fozj. All it does is make registry changes to make use of the new daylight saving time format. I've installed it and it works great!

Link to comment
Share on other sites

MDGx's unofficial Q931836 DST patch for Win9xME systems IS SAFE to use, Fozj. All it does is make registry changes to make use of the new daylight saving time format. I've installed it and it works great!

whoops! spoke too soon. I take it back. MDGx's Q931836 patch did NOT work as expected on my Win98/ME computers (it almost did).

However I like the earlier unofficial DST patch MDGx made where it did NOT delete the registry entries from the following registry key:

HKLM,System\CurrentControlSet\Control\TimeZoneInformation

I know for sure the official KB931836 updates for WinXP SP2 and WinServ2003 SP1 do NOT delete the "TimeZoneInformation" registry entries from that registry key.

SO MDGx must make changes to the Q931836.inf file. change the [DR] section from this:

----

[DR]

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardName,0,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightName,0,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardStart,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightStart,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,ActiveTimeBias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,Bias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,StandardBias,1,

HKLM,System\CurrentControlSet\Control\TimeZoneInformation,DaylightBias,1,

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\AUS Eastern Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Tasmania Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Cen. Australia Standard Time (CommonwealthGames 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Cen. Australia Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\W. Australia"

----

to this:

----

[DR]

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\AUS Eastern Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Tasmania Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Cen. Australia Standard Time (CommonwealthGames 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\Cen. Australia Standard Time (Commonwealth Games 2006)"

HKLM,"Software\Microsoft\Windows\CurrentVersion\Time Zones\W. Australia"

----

currently, the Q931836.inf file executed the [AR] section and THEN the [DR] section, deleted the TimeZoneInformation reg entries, which messed things up on my Win98/ME computers.

bottom line, the INF file should be updated to NOT remove the TimeZoneInformation entries.

Edited by erpdude8
Link to comment
Share on other sites

I used the patch from http://grystmill.com/articles/tz_update.htm to do my computer and it worked great, I think? Gary Terhune that made the patch is a MS MSVP on the Windows XP newsgroup forum. Seems like a nice guy, he even replied to my post about installing his patch.

Foz

Thanks a lot for your feedback.

I've tested this patch, and seems to work ok.

The only problem is that it can be run [even if warnings to the contrary are posted clearly at the author's web site] on any Win32 OS [either 9x (95/98/ME) or NTx (NT4/2000/XP/2003/Vista)].

My installers on the other hand, can be run only on the target OS(es), because they are built using M$'s own iexpress installer package, which provides for specific target OS range, banning all others if necessary.

On the good side, looks like Gary has a VBS file in his installer which probably alleviates the need for the do-it-by-hand timedate.cpl dialog box click, my installer still uses.

But I've found [please see my reply to erpdude8 below] a command line tool [also free from M$] which could successfully replace all this stuff with a more elegant solution.

I'm still testing it, but I should be posting it soon here.

When I do, we should all have a viable, unattended [automated] fix anybody can use safely.

P.S.:

There is a dedicated topic here at MSFN:

http://www.msfn.org/board/?showtopic=87399

which details all DST problems and all steps taken so far.

HTH

_____________________________________

erpdude8:

I've updated the Win9x DST patches [both English + Italian] to not delete those registry entries anymore.

All details + files here:

http://www.msfn.org/board/?showtopic=46581

P.S.:

There is a command line tool from M$ Win98 Resource Kit that seems to work properly in unattended mode in order to replace the do-it-by-hand timedate.cpl dialog box thingy that needs to be clicked at end of install.

TIMEZONE.EXE [6 KB]:

ftp://ftp.microsoft.com/services/technet/...ig/TIMEZONE.EXE

Daylight Saving Time Update Utility Version 1.01.

Copyright Microsoft Corporation 1997, 1998. All rights reserved.

TIMEZONE StartDate EndDate

StartDate Date that Daylight Saving Time begins (Hour-DayofWeek-Week-Month).

EndDate Date that Daylight Saving Time ends (Hour-DayOfWeek-Week-Month).

Example:

TIMEZONE 02-0-5-04 02-2-1-10

Daylight Saving Time begins at 2:00 on last Sunday in April, 02-0-5-04, and

Daylight Saving Time ends at 02:00 on first Tuesday in October, 02-2-1-10.

I'll test timezone.exe some more, and will add it to the iexpress installers in the near future.

HTH

Link to comment
Share on other sites

There is a command line tool from M$ Win98 Resource Kit that seems to work properly in unattended mode in order to replace the do-it-by-hand timedate.cpl dialog box thingy that needs to be clicked at end of install.

Just letting you know that having to click the timedate.cpl dialog box when installing KB931836 forced me to create an AutoIT version ... so, if you can always highlight if a hotfix is PERFECTLY unattended or not -- that would be very useful for me. Thanks!

Link to comment
Share on other sites

VBScript taken directly from the DST 2007 blog:

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

Dim process, processid, result, strUpdateCommand
Set process = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2:Win32_process")

'Add time change privilege to the process object
process.Security_.Privileges.AddAsString "SeSystemTimePrivilege",True
strUpdateCommand = "control.exe timedate.cpl,,/Z" & szTzKey

'Launch control.exe to refresh time zone information using the TZ key name obtained above
result = process.create(strUpdateCommand,Null,Null,processid)
If result <> 0 Then
objSh.LogEvent 1, "DST 2007 Registry Update and Refresh failed to execute on this computer. Unable to refresh the Timezone database."
Wscript.Quit 0
End If

'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 & "."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...