Skip to content

Instantly share code, notes, and snippets.

@RobertBoes
Created February 22, 2020 20:17
Show Gist options
  • Save RobertBoes/4044dd7d49659725e596cb7295ad23de to your computer and use it in GitHub Desktop.
Save RobertBoes/4044dd7d49659725e596cb7295ad23de to your computer and use it in GitHub Desktop.
Make windows use UTC instead of GMT (unix dual boot time sync)

Dual booting Windows with Unix can cause windows to set the time incorrectly. This is because Unix uses UTC and sets the bios clock accordingly, but Windows assumes it's set as GMT time.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation

Update/add RealTimeIsUniversal with value 1

Now Windows will use UTC instead of GMT

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=-
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment