
When the console shows up, run the following command if you have a 32 Bits version of Windows (Reg DWORD entry): Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1
#Dual boot ubuntu windows 10 windows 10#
B. Force Windows to use UTCĪs first, boot into Windows 10 and as soon as it boots, launch the Command Prompt in Administrator mode. Personally, i used this option as you need to run a single command only and that's it. This will generate the following output in the terminal:įinally just restart the PC and switch to Windows, adjust the system clock time again with the correct time and that's it ! The problem should be solved. To force ubuntu to use the local time, open a new terminal and type the following command: timedatectl set-local-rtc 1 -adjust-system-clockĪfter running the command, you should be able to check whether the system is using the local time or not with the following command: timedatectl

A. Disable UTC and use Local Time in Ubuntu

You may decide which solution fits better with your needs. The solution for this is either force Ubuntu to maintain the realtime clock in local time or force Windows to use UTC. Apparently, Ubuntu keeps the hardware clock in universal time (UTC), while windows keeps the clock in local time, causing a conflict between the mentioned operative systems. Since i decided to work with dual boot for having an Ubuntu machine with optimal performance, instead of using virtual machines, i noticed that when i started using the computer with Ubuntu and then decided to boot with windows, the timezone of Windows changed automatically, so i needed to fix this everytime i used both operative systems on the same day.Īfter some research, i discovered what was causing the issue.
