Home > Article > Computer Tutorials > Windows shows different or wrong time when dual booting
Does your Windows computer show the wrong time when you dual-boot Windows with Linux? Some users have reported time differences when running both operating systems on one PC. Many people have reported that Linux displays the correct time while Windows does not. Some users said that Windows showed the correct time but Linux did not. This situation is very frustrating for the people facing this problem.
Now, if you are one of them, this article will help you set the correct dual boot time. So, take a look below.
If Windows displays the wrong time when dual booting with Linux, here are the solutions you can use to fix the problem:
Normally, Windows sets the hardware clock to local time, while Linux sets it to Coordinated Universal Time (UTC). This may lead to inconsistent time display between dual-boot systems. To solve this problem, you can try to adjust the Linux clock to local time so that the time is synchronized.
To do this, you can use the timedatectl command. First, open a terminal window. Now, enter the following command to set the clock to local time:
SUDO时间日期设置-本地RTC 1
After completion, restart the system and check if the problem is resolved.
This command should be applicable to different Linux distributions using systems such as Ubuntu, Fedora, Red Hat, Debian, Mint, etc.
Read: Fix Windows time keeps changing on its own.
The next thing to fix this problem is to automatically set the time on Windows so that it syncs the time from the Internet. You can do this:
See: Fix Wrong Battery Percentage in Windows Laptop.
If the first method doesn't work, you can let Windows use UTC time to fix the time difference between the two operating systems. To do this, you can make changes to the registry. However, before proceeding, you can create a system restore point or back up your existing registry just to be safe. Now, follow these steps:
First, use Win R to open Run and enter "regdit" in its opening box to quickly launch the Registry Editor application.
Now, move to the following location in the address bar:
HKEY_MACHINESystemCurrentControlSetControlTimeZoneInformation
Next, right-click on the right panel and click on New > DWORD (32-bit) option to create a new DWORD.
After that, name this newly created DWORD RealTimeIsUniversal.
Now, double-click on the RealTimeIsUniversal DWORD, set its value to 1, and press the OK button.
Once completed, restart your computer for the changes to take effect and check if the issue has been resolved.
The above is the detailed content of Windows shows different or wrong time when dual booting. For more information, please follow other related articles on the PHP Chinese website!