Windows / Linux Timezone Settings

Problem: if you have Windows and Linux on the same computer, windows shows the wrong time shifted by your timezone (dst) after rebooting from Linux.

Discussion: Linux stores UTC in the computers hardware clock usually. This makes multi user, multi timezone, and dst handling easy, because it knows hardware clock is always UTC, and calculates all needed timezones. Windows on the other hand stores the localtime in hardware clock, which is weirdly complicated. e.g. how does the system know after DST change if the OS has already changed the timezone or not ?

Solution: With the following regedit key, windows stores UTC in the hardware clock as Linux does:

Go to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation” and add a QWORD entry called “RealTimeIsUniversal”, and set its value to 1.