针对夏时制 2002 墨西哥城时区更新

文章翻译 文章翻译
文章编号: 320034 - 查看本文应用于的产品
本文已归档。它按“原样”提供,并且不再更新。
展开全部 | 关闭全部

本文内容

概要

墨西哥城时区正在修改要更改夏令时实现方式 2002 中。 2001 实现如下所示:
  • 夏时制保存时间从首是 5月星期日 2:00 开始。
  • 最后是 9月星期日 2:00 昼保存时间终点。
2002 实现如下所示:
  • 夏时制保存时从是 4月首星期日 2:00 开始。
  • 最后是 10月星期日 2:00 昼保存时间终点。
本文介绍方法, 可用于修改以反映此更改 MicrosoftWindows 中该时区的默认行为。

更多信息

可用于多种方法修改默认行为是在时区。 例如, 手动修改行为或者一个无人参与部署中您可以运行命令。

手动修改时区

要手动, 修改时区使用下列方法之一:
  • 使用 Tzedit.exe 工具来调整启动和夏时制处于时区的结束日期。 您可从任何 MicrosoftWindows 资源工具包获得 Tzedit.exe 实用程序。 有关如何使用 Tzedit.exe, 请单击下列文章编号以查看 Microsoft 知识库中相应:
    158195 OEM Service Release 2 光盘上提供时区编辑器
  • 创建 .inf 文件以修改时区。 创建 .inf 文件后, 右键单击文件, 并单击 安装 。 在本文末尾列出示例 .inf 文件项。

使用自动部署

来部署新时区设置自动, 创建 .inf 文件以修改时区, 然后使用 Rundll 32 .exe 实用程序来实现 .inf 文件。 以下命令是 rundll 命令的示例 (其中 file _ name 是 .inf 文件的位置): \ 路径
rundll32printui.dll System 32 undll 32 .exesetupapi, InstallHinfSection DefaultInstall 128 路径 \ file _ name

示例 .inf 文件项

WindowsXP

这是关于 WindowsXP 示例 .inf 文件文本:
[Version]
Signature = "$Windows NT$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Display",0x00000002,"(GMT-06:00) Guadalajara, Mexico City, Monterrey"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Std",0x00000002,"Mexico Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","MapID",0x00000002,"-1,85"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Index",0x00010001,30
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","TZI",0x00030001,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
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Display",0x00000002,"(GMT-07:00) Chihuahua, La Paz, Mazatlan"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Std",0x00000002,"Mexico Standard Time 2"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","MapID",0x00000002,"34,35"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","Index",0x00010001,13
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time 2","TZI",0x00030001,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
					
注意 : 如果计算机已经处于时区, 前面提及必须也在脚本末尾添加以下行以便对此时间区域更改生效。 用于 WindowsNT、 Windows 2000 和 Windows XP (Guadalajara, 墨西哥城, Monterrey 只) 附加示例 .inf 文件文本中此文本。
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,300
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					
用于 WindowsXP 只 (Chihuahua, 拉巴斯, Mazatlan) 追加示例 .inf 文件文本中将以下文本:
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,420
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time 2"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					

Windows 2000 和 WindowsNT

这是关于 Windows 2000 和 WindowsNT 示例 .inf 文件文本:
[Version]
Signature = "$Windows NT$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Display",0x00000002,"(GMT-06:00) Mexico City"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Std",0x00000002,"Mexico Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","MapID",0x00000002,"-1,85"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","Index",0x00010001,30
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Mexico Standard Time","TZI",0x00030001,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
					
注意 : 如果计算机已经处于时区, 前面提及必须也在脚本末尾添加以下行以便对此时间区域更改生效。 用于 WindowsNT 和 Windows 2000 Guadalajara, 墨西哥城, Monterrey 只) 追加示例 .inf 文件文本中将以下文本。
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00010001,300
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00010001,360
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00010001,0xffffffc4
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,01,00,02,00,00,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,05,00,02,00,00,00,00,00,00,00,00,00
					

Windows 95、 Windows 98 和 WindowsMillenniumEdition

这是示例 .inf 文件文本用于 Windows 95、 Windows 98 和 Windows Millennium Edition (Me):
[Version]
Signature = "$Chicago$"

[DefaultInstall]
AddReg = AddReg

[AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Display",0x00000002,"(GMT-06:00) Mexico City"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Dlt",0x00000002,"Mexico Daylight Time"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Std",0x00000002,"Mexico Standard Time"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","MapID",0x00000002,"-1,85"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","Index",0x00010001,30
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zones\Mexico","TZI",0x00030001,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
					
备注 如果计算机已经处于时区, 前面提到还必须将下行在脚本末尾以便对此时间区域更改生效。 用于 Windows 95、 Windows 98 和 Windows Millennium Edition 追加示例 .inf 文件文本中将以下文本:
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","ActiveTimeBias",0x00030001,68,01,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","Bias",0x00030001,68,01,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightBias",0x00030001,c4,ff,ff,ff
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightFlag",0x00030001,01,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightName",0x00000002,"Mexico Daylight Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","DaylightStart",0x00030001,00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardBias",0x00030001,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardName",0x00000002,"Mexico Standard Time"
HKLM,"SYSTEM\CurrentControlSet\Control\TimeZoneInformation","StandardStart",0x00030001,00,00,0a,00,00,00,05,00,02,00,00,00,00,00,00,00
					

属性

文章编号: 320034 - 最后修改: 2014年2月26日 - 修订: 4.5
这篇文章中的信息适用于:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 95
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
关键字:?
kbnosurvey kbarchive kbinfo KB320034 KbMtzh kbmt
机器翻译
注意:这篇文章是由无人工介入的微软自动的机器翻译软件翻译完成。微软很高兴能同时提供给您由人工翻译的和由机器翻译的文章, 以使您能使用您的语言访问所有的知识库文章。然而由机器翻译的文章并不总是完美的。它可能存在词汇,语法或文法的问题,就像是一个外国人在说中文时总是可能犯这样的错误。虽然我们经常升级机器翻译软件以提高翻译质量,但是我们不保证机器翻译的正确度,也不对由于内容的误译或者客户对它的错误使用所引起的任何直接的, 或间接的可能的问题负责。如果您发现了错误并希望帮助我们提高机器翻译技术,请完成文章末尾的在线调查。
点击这里察看该文章的英文版: 320034
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。

提供反馈

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com