Clock wrong when dual-booting Windows & Linux

garlin

Moderator
Staff member
Messages
7,450
Reaction score
3,630
Windows will update the BIOS clock using local time -- instead of UTC (GMT). When you're dual-booting with Linux, the hours are shifted wrong.
https://devblogs.microsoft.com/oldnewthing/20040902-00/?p=37983

Here's the simple fix:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=qword:00000001
 
Needs to be a Dword, rather than Qword, or it won't import and work properly. If you want to replicate, save this as a .reg file, import it by double-clicking the file and the key won't appear in the registry and the clock won't adjust, even after a reboot. Change it to dword and do the same procedure and it gets added to the registry and works. It stood out to me because qword is rarely used.
 
I love Raymond Chen's blogs, it reminds you how much MS devs highly value backwards compatibility, at the expense of looking stupid on newer Windows. Because someone running a 15-year old app will appreciate it some day.
 
Back
Top