Home > System Tutorial > LINUX > body text

The best solution to solve the Linux and Windows dual-boot time synchronization problem

王林
Release: 2024-01-04 22:24:39
forward
801 people have browsed it

If you want to try other Linux distributions while retaining the Windows system, dual booting is a common practice. This method is so popular because dual-booting is easy. However, this also brings about a big problem, and that is time.

Yes, you read that right. If you just use one operating system, time synchronization will not be a problem. However, if there are two systems, Windows and Linux, there may be time synchronization problems. Linux uses Greenwich Mean Time while Windows uses local time. When you switch from Linux to Windows or from Windows to Linux, the wrong time may be displayed.

But don’t worry, this problem is easy to solve.

Click on the Start menu in Windows and search for regedit.

完美解决 Linux 和 Windows 双启动带来的时间同步问题

open regedit in windows 10

Click to open, and then you will see the content under Type. This is the Registry Editor.

完美解决 Linux 和 Windows 双启动带来的时间同步问题

windows 10 registry editor

In the navigation menu on the left, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation.

In the right window, right-click a blank location and select New >> DWORD(32 bit) Value.

完美解决 Linux 和 Windows 双启动带来的时间同步问题

change time format utc from windows registry

After that, you will generate a new entry, and this entry will be highlighted by default. Rename this entry to RealTimeIsUniversal and set the value to 1.

完美解决 Linux 和 Windows 双启动带来的时间同步问题

set universal time utc in windows

All configurations are completed. Next time you restart, there will be no time synchronization problems.

The above is the detailed content of The best solution to solve the Linux and Windows dual-boot time synchronization problem. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!