Clock shows wrong time when dual booting Windows and Linux (*nix)

Everybody dual booting Windows and Linux (or any other *nix derivative) surely has different hours when booting back to Windows from Linux.
Well, that's because Windows manages the clock in "local time" instead of UTC which is what most other OSes do (such as Linux).
According to this Lifehack (http://lifehacker.com/5742148/fix-windows-clock-issues-when-dual-booting-with-os-x) there's a workaround in order to force Windows to use UTC. It's a simple registry entry that starts working as soon as you reboot your PC back into Windows.
I'll copy it here for posterity in case LH ever runs into trouble and disappears.
Search for:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
Right click anywhere in the right pane and hit "New > DWORD (32-bit) Value".
Name it "RealTimeIsUniversal".
Double click on it and give it a value of "1".
That's it. Just reboot back into Windows and check that (if your clock was out of sync) it should now be perfectly in sync and you can now freely boot between Linux and Windows with no worries.

Comments

Popular posts from this blog

Headless home server - Setting up Dynamic DNS (FreeDNS) and IPv6 tunnel (HE.net)

[Howto] USB sniffing

Headless home server - Boot via GPT/EFI UUID