Jump to content

Recommended Posts

Posted

Want my computers to always display GMT time, and not adjust for daylight saving. Using regmom noticed the following registry keys being changed when I played with the Date/Time tote in the control panel, so tried to effect these changes automatically during the unattended install. Unfortunately it's not working. Has anyone achieved this behaviour and could share their findings?

Thanks,

Chris

;====================================================================
; Switch off the daylight saving settings which is on by default
;====================================================================
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"DaylightName"="GMT Standard Time"
"DaylightBias"=dword:00000000
"DaylightStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:00000000
"DisableAutoDaylightTimeSet"=dword:00000001


Posted

If you manually add these settings after the install does it work? If it does, then it means something during setup is resetting these values. You didn't say when during the install you apply these settings. You might need to apply them later during the install.

-gosh

Posted

I've created a file called GMT.reg with the following content:

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:00000000
"StandardName"="GMT Standard Time"
"StandardBias"=dword:00000000
"StandardStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"DaylightName"="GMT Standard Time"
"DaylightBias"=dword:00000000
"DaylightStart"=hex:00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
"ActiveTimeBias"=dword:00000000
"DisableAutoDaylightTimeSet"=dword:00000001

I'm calling this from cmdlines.txt during the install but it's not sticking. After the first logon, opening the time zone windows still has the checkbox ticked.

However, if I run GMT.reg again the checkbox is cleared, but the time is not thrown 1 hour back as expected. So right timezone, but wrong time :(

Posted

Does anyone know if this could be achieved usng setupapi perhaps?

start /wait rundll32 setupapi,InstallHinfSection DefaultInstall 128 DAYLIGHTSAVINGOFF.INF

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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