Home » Insider Builds » Fix Windows and Linux Showing Different Time When Dual Booting

Fix Windows and Linux Showing Different Time When Dual Booting

Dual-booting Windows and Linux can show the wrong time. Here’s how to get Windows and Linux to show the correct time while dual booting.

If you dual-boot Windows and Linux, you may have noticed an odd issue with Windows and Linux displaying different times. Even if you have correctly set the time in Linux or Windows, you may notice a different time when booting into the other operating system.

Though this is not a major issue, manually setting the time each time is highly inconvenient. Not to mention that the incorrect time might occasionally interfere with applications and key system functionality, as well as disturb your internet connection.

Why do Windows and Linux display different times when dual booting?

Generally, the current time is stored in your motherboard. Every time you boot into Windows or Linux, they will get the current time from your motherboard. The problem, though, is how Windows and Linux read the time from the motherboard.

Windows: It assumes the time it received from the motherboard is your local time. Windows will not make any corrections or UTC (Greenwich Mean Time) off-sets. It just displays the time as is.

Linux: It assumes that the time it received from the motherboard is the UTC time (Greenwich Mean Time). As a result, Linux adjusts the motherboard time according on your location or region settings to display the true local time.

As you might expect, when employed individually, both approaches are wonderful. However, when dual booting, these solutions will cause time sync problems and display different times in Windows and Linux.

Don’t worry; while the problem appears to be tricky, it is simple to fix Windows and Linux showing different times when dual booting. Simply follow the steps below, and you should be OK.

The method works in Windows 11, 10, 8, and 7.

Fix Different Time in Windows and Linux

To make Windows and Linux show the same time, you can configure Linux to use the local time or Windows to use UTC (Universal Time Coordinated). I’m going to show how to fix the problem from within Windows. It is much easier; all you have to do is create a single Registry key.

Note: Before proceeding, please back up your registry. When you want to reset the Registry or if something goes wrong when editing, the backup will let you restore it.

  1. Open the Settings app.
  2. Click “Time & language” on the sidebar.
  3. Go to the “Date and Time” page.
  4. Turn off the “Set time automatically” option.
  5. Close the Settings app.
  6. Open the Start menu.
  7. Search and open “Registry Editor.”
  8. Go to the following folder. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation
  9. Right-click on the “TimeZoneInformation” folder.
  10. Select “New -> DWORD Value.”
  11. Set “RealTimeIsUniversal” as the name.
  12. Double-click the newly created value.
  13. Type “1” in the “Value Data” field.
  14. Press the “Ok” button.
  15. Close the Registry Editor.
  16. Reboot the computer.
  17. With that, Windows and Linux will show the same time.

Steps with more details:

First, we need to ensure Windows won’t change the time every time you restart. To do so, use the “Win + I” keyboard shortcut to launch the Settings app and navigate to the “Time and Language > Date and Time” tab. Turn off the “Set time automatically” option.

Turn off "Set time automatically" option

Then, press the Start button, search for “Registry Editor,” and launch it. After you’ve opened it, paste the path below into the address bar and hit Enter. It will take you to the “TimeZoneInformation” folder.

Fix Windows and Linux showing different times - Navigate to key

Once there, right-click the “TimeZoneInformation” folder and choose “New > DWORD Value.” You may also right-click on the right panel to access the menu. Set the value name to “RealTimeIsUniversal” and press “Enter” to save the changes.

Fix Windows Linux Time Difference - Create Realtimeisuniversal Value

After creating the value, double-click on it. Type “1” in the “Value Data” field and click the “Ok” button to save the changes.

Change Value Data To 1

Finally, close the Registry Editor and restart the computer.

That’s all. When dual booting, Windows and Linux will display the same time from now on. There will be no more different times in Windows and Linux issues. You can use both operating systems without having to manually change the time every time.

Undo Changes

If you want to undo your recent modifications, either delete the “RealTimeIsUniversal” value or modify the Value Data from “1” to “0.” Also, in the Settings app, enable the “Set time automatically” option.

That is all. It is that simple to fix Windows and Linux showing different times.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.

Scroll to Top