Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save herodrigues/80e79668c4b7b2dcf6c7e273b2786369 to your computer and use it in GitHub Desktop.

Select an option

Save herodrigues/80e79668c4b7b2dcf6c7e273b2786369 to your computer and use it in GitHub Desktop.

Linux:

timedatectl set-local-rtc 1 --adjust-system-clock

Windows:

  • Navigate to the following key in the left pane of the registry editor:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation
  • Right-click the “TimeZoneInformation” key and select New > DWORD (32-bit) Value.
  • Name your new value RealTimeIsUniversal.
  • Double-click the RealTimeIsUniversal value you just created, set is value data to 1, and click “OK”.
@tomwilde

Copy link
Copy Markdown

Thanks for leaving this lying around on the internet! Can confirm it fixed my issue for Win11.. So that's SEVEN YEARS this has been a problem in windows land.. rubbish!

@herodrigues

Copy link
Copy Markdown
Author

@tomwilde you're welcome. Yeah, that's insane.

What I'm currently doing is to install Windows and Linux on different hard drives, disabling Windows on Linux's grub and booting them using the boot menu from my machine. This way you get rid of all dual boot problems that exist.

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