{"id":400,"date":"2021-02-09T01:30:41","date_gmt":"2021-02-08T17:30:41","guid":{"rendered":"https:\/\/www.orztip.com\/?p=400"},"modified":"2021-03-06T02:32:12","modified_gmt":"2021-03-05T18:32:12","slug":"let-windows-recognize-bios-time-as-utc-time-with-realtimeisuniversal","status":"publish","type":"post","link":"https:\/\/www.orztip.com\/?p=400&article_title=let-windows-recognize-bios-time-as-utc-time-with-realtimeisuniversal","title":{"rendered":"\u8ba9Windows 10\u5c06BIOS\u786c\u4ef6\u65f6\u95f4\u89c6\u4e3a\u534f\u8c03\u4e16\u754c\u65f6\uff08UTC\uff09\u7684\u65b9\u6cd5\uff1a\u6ce8\u518c\u8868\u6570\u503c\u540d\u79f0RealTimeIsUniversal"},"content":{"rendered":"\n<p>\u5982\u679c\u5b89\u88c5\u4e86Windows\u548cLinux\u53cc\u7cfb\u7edf\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u5207\u6362\u7cfb\u7edf\u65f6\u51fa\u73b0\u65f6\u95f4\u9519\u4e71\u95ee\u9898\u3002\u5177\u4f53\u8868\u73b0\u4e3a\uff1a\u4f7f\u7528\u4e00\u6bb5\u65f6\u95f4Linux\u540e\uff0c\u91cd\u542f\u8fdb\u5165Windows\uff0c\u4f1a\u53d1\u73b0Windows\u663e\u793a\u7684\u65f6\u95f4\u4e0d\u6b63\u786e\uff1b\u53cd\u4e4b\u4ea6\u7136\u3002<\/p>\n\n\n\n<p>\u8fd9\u662f\u56e0\u4e3aBIOS\u786c\u4ef6\u65f6\u95f4\u672c\u8eab\u5e76\u6ca1\u6709\u65f6\u533a\u6982\u5ff5\uff0c\u4f46Windows\u548cLinux\u5bf9Bios\u786c\u4ef6\u65f6\u95f4\u4e0e\u65f6\u533a\u5173\u7cfb\u7684\u7406\u89e3\u4e0d\u4e00\u6837\u3002Linux\u5c06BIOS\u786c\u4ef6\u65f6\u95f4\u89c6\u4e3a\u534f\u8c03\u4e16\u754c\u65f6\uff08UTC\uff09\uff0c\u5373\u4e0d\u5b58\u5728\u672c\u5730\u65f6\u533a\uff1b\u800cWindows\u5219\u5c06BIOS\u786c\u4ef6\u65f6\u95f4\u89c6\u4e3a\u5f53\u5730\u65f6\u95f4\uff0c\u5e26\u4e0a\u4e86\u8bbe\u7f6e\u540e\u7684\u65f6\u533a\u3002Windows\u8fd9\u6837\u505a\uff0c\u4e00\u662f\u65e9\u671f\u4e3a\u4e86\u517c\u5bb9MS-DOS\/Windows 3.x\uff0c\u4e8c\u662f\u4e3a\u4e86\u7167\u987e\u5927\u4f17\uff0c\u9632\u6b62\u7528\u6237\u95ee\u4e3a\u4ec0\u4e48BIOS\u663e\u793a\u7684\u65f6\u95f4\u548c\u5b9e\u9645\u4e0d\u4e00\u81f4\u30101\u3011\u30103\u3011\u3002<\/p>\n\n\n\n<p>\u90a3\u4e48\u5982\u4f55\u8ba9Windows 10\u5c06BIOS\u786c\u4ef6\u65f6\u95f4\u89c6\u4e3a\u534f\u8c03\u4e16\u754c\u65f6\uff08UTC\uff09\u5462\uff1f\u7b54\u6848\u662f\u6ce8\u518c\u8868\u6570\u503c\u540d\u79f0RealTimeIsUniversal\u30102\u3011\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u5217\u4e3e\u4e0d\u540c\u64cd\u4f5c\u6ce8\u518c\u8868\u7684\u65b9\u6cd5\uff0c\u4f9b\u53c2\u8003\u3002<\/p>\n\n\n\n<p><strong>\u65b9\u6cd5\u4e00\uff1a\u624b\u52a8\u64cd\u4f5c\u6cd5<\/strong><\/p>\n\n\n\n<p>1\u3001\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00\u6ce8\u518c\u8868\u3002<\/p>\n\n\n\n<p>2\u3001\u5b9a\u4f4d\u5230\u201cHKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation\u201d<\/p>\n\n\n\n<p>3\u3001\u5982\u679c\u6ca1\u6709\u770b\u5230\u201cRealTimeIsUniversal\u201d\u6570\u503c\u540d\u79f0\uff0c\u65b0\u5efa\u4e00\u4e2a\uff0c\u7c7b\u578b\u89c6\u64cd\u4f5c\u7cfb\u7edf\u4f4d\u6570\u800c\u5b9a\uff1a\u5982\u679c\u662f64\u4f4d\uff0c\u5219\u7c7b\u578b\u4e3a\u201cQWORD\u201d\uff0c\u5982\u679c\u662f32\u4f4d\uff0c\u7c7b\u578b\u4e3a\u201cDWORD\u201d\u3002<\/p>\n\n\n\n<p>4\u3001\u7f16\u8f91\u201cRealTimeIsUniversal\u201d\u6570\u503c\u540d\u79f0\uff0c\u5c06\u5176\u503c\u6539\u62101\u3002<\/p>\n\n\n\n<p>5\u3001\u91cd\u542f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"524\" src=\"https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz-1024x524.png\" alt=\"\" class=\"wp-image-403\" srcset=\"https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz-1024x524.png 1024w, https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz-300x153.png 300w, https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz-150x77.png 150w, https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz-768x393.png 768w, https:\/\/www.orztip.com\/mattach_upload\/2021\/02\/tz.png 1424w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>\u65b9\u6cd5\u4e8c\uff1a\u6ce8\u518c\u8868\u6587\u4ef6\u6cd5<\/strong><\/p>\n\n\n\n<p>\u53e6\u4e00\u79cd\u65b9\u6cd5\u5219\u662f\u5c06\u5982\u4e0b\u6587\u672c\u4fdd\u5b58\u4e3a\u6ce8\u518c\u8868\u6587\u4ef6RealTimeIsUniversal.reg\uff0c\u7136\u540e\u53cc\u51fb\u5bfc\u5165\uff0c\u6700\u540e\u91cd\u542f\u3002<\/p>\n\n\n\n<p>\u9002\u7528\u4e8e64\u4f4dWindows\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Windows Registry Editor Version 5.00\r\n\r\n&#91;HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation]\r\n\"RealTimeIsUniversal\"=hex(b):01,00,00,00,00,00,00,00\r\n<\/code><\/pre>\n\n\n\n<p>\u9002\u7528\u4e8e32\u4f4dWindows\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Windows Registry Editor Version 5.00\r\n\r\n&#91;HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation]\r\n     \"RealTimeIsUniversal\"=dword:00000001<\/code><\/pre>\n\n\n\n<p><strong>\u65b9\u6cd5\u4e09\uff1a\u547d\u4ee4\u884c\u6cd5<\/strong><\/p>\n\n\n\n<p>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00\u547d\u4ee4\u884c\uff0c\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\uff0c\u7136\u540e\u91cd\u542f\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1a\u4ee5\u4e0b\u547d\u4ee4\u4ec5\u9002\u540864\u4f4dWindows\u3002\u5982\u679c\u662f32\u4f4dWindows\uff0c\u8bf7\u628aREG_QWORD\u66ff\u6362\u6210REG_DWORD\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add \"HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\TimeZoneInformation\" \/v RealTimeIsUniversal \/d 1 \/t REG_QWORD \/f<\/code><\/pre>\n\n\n\n<p>\u30101\u3011. Raymond Chen\uff0c\u300aWhy does Windows keep your BIOS clock on local time?\u300b\uff0c2004-9-2\uff0c<a href=\"https:\/\/devblogs.microsoft.com\/oldnewthing\/20040902-00\/?p=37983\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/devblogs.microsoft.com\/oldnewthing\/20040902-00\/?p=37983<\/a><br>\u30102\u3011. <a href=\"https:\/\/wiki.archlinux.org\/index.php\/System_time#UTC_in_Windows\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/wiki.archlinux.org\/index.php\/System_time#UTC_in_Windows<\/a><br>\u30103\u3011. Markus Kuhn\uff0c\u300aIBM PC Real Time Clock should run in UT\u300b\uff0c2001-07-02\uff0c<a href=\"https:\/\/www.cl.cam.ac.uk\/~mgk25\/mswish\/ut-rtc.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.cl.cam.ac.uk\/~mgk25\/mswish\/ut-rtc.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u5b89\u88c5Windows\u548cLinux\u53cc\u7cfb\u7edf\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u5207\u6362\u7cfb\u7edf\u65f6\u51fa\u73b0\u65f6\u95f4\u9519\u4e71\u95ee\u9898\u3002\u6b64\u65f6\u9700\u8981\u8ba9Windows\u5c06BIOS\u786c\u4ef6\u65f6\u95f4\u89c6\u4e3a\u534f\u8c03\u4e16\u754c\u65f6\uff08UTC\uff09\uff0c\u8fd9\u548c\u6ce8\u518c\u8868\u6570\u503c\u540d\u79f0RealTimeIsUniversal\u6709\u5173\u3002<\/p>\n","protected":false},"author":1,"featured_media":403,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6],"tags":[86,88,87],"_links":{"self":[{"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/posts\/400"}],"collection":[{"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.orztip.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=400"}],"version-history":[{"count":4,"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":405,"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/posts\/400\/revisions\/405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.orztip.com\/index.php?rest_route=\/wp\/v2\/media\/403"}],"wp:attachment":[{"href":"https:\/\/www.orztip.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.orztip.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.orztip.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}