Home  >  Article  >  Computer Tutorials  >  Windows shows different or wrong time when dual booting

Windows shows different or wrong time when dual booting

王林
王林forward
2024-02-19 11:45:03967browse

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.

Windows shows different or wrong time when dual booting

Now, if you are one of them, this article will help you set the correct dual boot time. So, take a look below.

Windows displays different or wrong time when dual booting

If Windows displays the wrong time when dual booting with Linux, here are the solutions you can use to fix the problem:

  • Use the command to make Linux use local time as the hardware clock.
  • Automatically sync time from the internet on Windows.
  • Use the Registry Editor to make Windows use UTC time.
  • 1]Use the command to make Linux use local time as the hardware clock

    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.

    2] Automatically synchronize time from the Internet on Windows

    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:

    • First, open the settings using Win I and go to the Time Language tab.
    • Now, click on the Date & Time option.
    • After that, turn on the toggle related to the Automatically set time option. Set the correct time zone.
    • Now, click on the Sync Now button under the Additional Settings option to synchronize time and date from the internet.
    • Now check if the time is displayed correctly.

    See: Fix Wrong Battery Percentage in Windows Laptop.

    3]Use the Registry Editor to make Windows use UTC time

    Windows shows different or wrong time when dual booting

    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!

    Statement:
    This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete