编辑 2015年7月30日
我似乎不知何故在 Linux 中启用了本地时间,可能是前段时间重装系统的结果。我将 Linux 切换到了 UTC,现在我的配置似乎运行正常。
与 https://superuser.com/questions/185773/does-windows-7-support-utc-as-bios-time 和 https://superuser.com/questions/482860/does-windows-8-support-utc-as-bios-time 有关,Windows 10 是否也是如此?
我过去在 Windows 7 中成功使用过这两个问题中推荐的方法,但在 Windows 10 中似乎无法使用。我相信我在 Windows 8.1 中也遇到过同样的问题。我不确定 Windows 8 的情况。
我尝试过多种不同的日期/时间设置配置(右键单击时钟并选择 "调整日期/时间")。我目前的配置是
自动设置时间:开
时区:(UTC-05:00) 东部时间(美国和加拿大)
自动调整夏令时:开
我也试过指示它不自动设置时间(我想我可能在 Windows 7 中做过这样的设置),也试过不调整夏令时。
我还尝试按照 https://wiki.archlinux.org/index.php/System_time#UTC_in_Windows 中的建议,将注册表值(来自链接问题)设置为 QWORD,但仍然没有效果。
有人在 Windows 10 中成功使用过 UTC 时间吗?
是的,我成功了。别忘了禁用 "互联网更新 "功能!
我使用了 ArchWiki 中描述的方法,在 64 位 Win10 上使用 QWORD。 NTP 是在 Arch 上完成的,而不是在 Windows 上,不过后者反正也不会经常启动。
这是.reg
文件:
[RealTimeIsUniversal.reg][1]
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=hex(b):01,00,00,00,00,00,00,00
使用 regedit
在注册表中添加十六进制值为 1
的 DWORD
值。
注册表:
>;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\RealTimeIsUniversal >; 或者,在桌面上创建一个
*.reg
文件,内容如下 内容,并双击它将其导入注册表: >; Windows 注册表编辑器 5.00 版 >; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] "RealTimeIsUniversal"=dword:00000001 >; 如果上述操作似乎没有影响,并且使用的是 64 位版本的 如果使用的是 64 位变种 Windows,则使用QWORD
值而不是DWORD
值 可能会解决问题。