Skip to content

Instantly share code, notes, and snippets.

@electron0zero
Created November 19, 2017 20:12
Show Gist options
  • Save electron0zero/e5d965d3f168907ba8b9b3994750615d to your computer and use it in GitHub Desktop.
Save electron0zero/e5d965d3f168907ba8b9b3994750615d to your computer and use it in GitHub Desktop.
Fix for time zone issue in Windows + Ubuntu Dual boot

See these links

https://askubuntu.com/questions/169376/clock-time-is-off-on-dual-boot

content(in case link goes down)

Easy way

Download attached .reg file, run it and reboot to linux and then back to windows

Hard Way

To fix it, just hit Start and type regedit.exe in the search box. Hit Enter and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation. Right click anywhere in the right pane and hit New > DWORD (32-bit) Value. Name it RealTimeIsUniversal, then double click on it and give it a value of 1.

Lastly, reboot into linux, then reboot back into Windows.

You should now notice that your clock actually displays the correct time.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
@DesktopECHO
Copy link

From Command Prompt (CMD.EXE) or PowerShell:

REG.EXE ADD HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1 /f
SC.EXE CONFIG W32time START=DISABLED

@dusdoom
Copy link

dusdoom commented Jul 24, 2024

love ya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment