设置组策略以根据站点位置配置时区。
答案1
将模板主机更改为所需的时区,然后导出到 .REG 。
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"Bias"=dword:0000012c
"DaylightBias"=dword:ffffffc4
"DaylightName"="@tzres.dll,-111"
"DaylightStart"=hex:00,00,03,00,02,00,02,00,00,00,00,00,00,00,00,00
"DynamicDaylightTimeDisabled"=dword:00000000
"StandardBias"=dword:00000000
"StandardName"="@tzres.dll,-112"
"StandardStart"=hex:00,00,0b,00,01,00,02,00,00,00,00,00,00,00,00,00
"TimeZoneKeyName"="Eastern Standard Time"
"ActiveTimeBias"=dword:0000012c
-注意:不要使用“替换”,而要使用“更新”,否则当主机与站点不匹配时,它将默认为 UTC 时区。