Fix Incorrect Time in Windows 11 That Dual boot with Ubuntu Linux

Last updated: October 24, 2021

For those dual boot Windows 11 with Ubuntu or other Linux, you’ll find different time display in each system. And usually Windows shows the incorrect clock time.

There are two time standards, localtime and Coordinated Universal Time (UTC, aka GMT). The local time standard is dependent on the current time zone, while UTC is the global time standard that is independent of time zone.

By default, Windows uses localtime, but Ubuntu uses UTC. So you get the different time in the dual boot. And the solution is set the same time standard in the two systems.

Method 1.) Set RTC to local time zone in Ubuntu:

Though it’s not recommended, set the Real Time Clock (RTC) to use local time zone just works.

Firstly, open terminal either from system app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:

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

Then you can check system clock status via command:

timedatectl

And “RTC in local TZ: yes”, where TZ means time zone, tells localtime standard is in use.

As I said “it’s not recommended“, it warns that localtime standard may cause various problems with time zone changes and daylight saving time adjustments.

You can restore UTC time standard and do method 2 instead by running command:

timedatectl set-local-rtc 0

Method 2.) Enable UTC time in Windows 11:

If you’re now running Windows 11, you can easily enable the UTC / GMT time standard via following steps.

1. Firstly, click on ‘Search’ icon on task bar. Then search for and right-click on ‘Command Prompt’ and select ‘Run as administrator’.

2. When command prompt opens, copy and paste the command below and hit run:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f

The command creates a registry key to tell Windows to use universal time standard.

Refresh the display time to apply change:

If Windows 11 shows the incorrect date and time, search for and open “Settings” from start menu. Then go to “Time & Language” from left pane, click “Date & time” and finally disable and re-enable ‘Set time automatically’ option will correct your system time.

For Ubuntu users, it may also display incorrect time when “Automatic Date & Time” not enabled. Simply enable or refresh the option in System “Settings -> Date & Time” will do the trick.

Twitter

I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via ubuntuhandbook1@gmail.com Buy me a coffee: https://ko-fi.com/ubuntuhandbook1 |

9 responses to Fix Incorrect Time in Windows 11 That Dual boot with Ubuntu Linux

  1. Thank you, worked for me!

    Found you with duckduckgo, first result!

    • Same.Although I think that setting windows to UTC should be the first and only solution listed, as setting any other system to any other than UTC is a dusgusting workaround, not a solution.

      • until there’s no standard, it’s impossible to say which way is more correct.
        I went with fixing Ubuntu, because you never know when Microsoft updates the registry breaking the fix.

  2. thank you!

  3. Thank you so much. It helped!

  4. Herbert Lövenich September 10, 2023 at 6:41 pm

    Thank you, straight forward instruction fixed the issue in Windows 11.

  5. Thank you so much!!

  6. Thank you so much. This saves a lot of frustration. I was about to abandon dual boot systems forever. You made my day!

  7. Your trick worked, thank you, but I think, Ubuntu should have an option to click, which type of the RTC it should use, at least when being installed next to the existing Windows. This would spare some frustration to the users.