
The question, i have not yet found an answer for and hope of your help for, is, does it matter, which exact timezone is set, as long as the offset to UTC/GMT is correct?

Posted 13 July 2012 - 07:05 PM
Posted 13 July 2012 - 07:28 PM
[Variables] %var076%=-- %var077%=-- %var078%=-- %var079%=-- %var080%=-- %var081%=-- %var082%=-- %var083%=-- %var084%=-- %var085%=-- [Process] If,NOT,EXISTFILE,"%Target_Sys%w32time.dll",Require_FileQ,"w32time.dll" If,NOT,EXISTFILE,"%Target_Sys%tzres.dll",Require_FileQ,"tzres.dll" // Hive_Load,HKLM Echo,"Writing new values on registry hive.." reg_add,0x4,"%reg%ControlSet001servicesW32Time","Start","2" reg_add,0x1,"%reg%SetupAllowStartW32Time" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","Bias","%var076%" If,NOT,"%var076%",EQUAL,"--",reg_add,0x4,"%reg%ControlSet001ControlTimeZoneInformation","Bias","%var076%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","DaylightBias","%var077%" If,NOT,"%var077%",EQUAL,"--",reg_add,0x4,"%reg%ControlSet001ControlTimeZoneInformation","DaylightBias","%var077%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","DaylightName","%var078%" If,NOT,"%var078%",EQUAL,"--",reg_add,0x1,"%reg%ControlSet001ControlTimeZoneInformation","DaylightName","%var078%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","DaylightStart","%var079%" If,NOT,"%var079%",EQUAL,"--",reg_add,0x3,"%reg%ControlSet001ControlTimeZoneInformation","DaylightStart","%var079%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","StandardBias","%var080%" If,NOT,"%var080%",EQUAL,"--",reg_add,0x4,"%reg%ControlSet001ControlTimeZoneInformation","StandardBias","%var080%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","StandardName","%var081%" If,NOT,"%var081%",EQUAL,"--",reg_add,0x1,"%reg%ControlSet001ControlTimeZoneInformation","StandardName","%var081%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","StandardStart","%var082%" If,NOT,"%var082%",EQUAL,"--",reg_add,0x3,"%reg%ControlSet001ControlTimeZoneInformation","StandardStart","%var082%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","TimeZoneKeyName","%var083%" If,NOT,"%var083%",EQUAL,"--",reg_add,0x1,"%reg%ControlSet001ControlTimeZoneInformation","TimeZoneKeyName","%var083%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","DynamicDaylightTimeDisabled","%var084%" If,NOT,"%var084%",EQUAL,"--",reg_add,0x4,"%reg%ControlSet001ControlTimeZoneInformation","DynamicDaylightTimeDisabled","%var084%" RegRead,HKLM,"SystemControlSet001ControlTimeZoneInformation","ActiveTimeBias","%var085%" If,NOT,"%var085%",EQUAL,"--",reg_add,0x4,"%reg%ControlSet001ControlTimeZoneInformation","ActiveTimeBias","%var085%" Hive_Unload,HKLM
Posted 13 July 2012 - 11:54 PM
Posted 14 July 2012 - 01:17 AM
Posted 14 July 2012 - 05:43 AM
Posted 14 July 2012 - 06:59 AM
During boot:I want to create a program, which is automaticaly run right after PENetwork. This way, no matter where you build your PE and no matter where you are now, the PE will show the correct local time.
hostGrab.exe -ATTZhostGrab.exe you can find as part of the multiPE project in
Posted 14 July 2012 - 01:14 PM
Posted 14 July 2012 - 03:23 PM
Posted 14 July 2012 - 04:28 PM
Posted 14 July 2012 - 04:58 PM
Posted 14 July 2012 - 05:33 PM
hostGrab.exe -ADTZbut as long as your laptop does not have GPS, there is no real safe chance for a program to decide where in the world you are and to set the corresponding time zone data.
Posted 14 July 2012 - 08:33 PM
Posted 14 July 2012 - 09:04 PM
You exactly got the real issue:So far i have only found a way, to get the offset to UTC/GMT not the timezone information itself.
Posted 14 July 2012 - 11:29 PM
Posted 15 July 2012 - 07:30 AM
Posted 15 July 2012 - 05:42 PM
0 members, 0 guests, 0 anonymous users