178 字
1 分钟
Linux Win 双系统时间不同步
解决Linux windows双系统时间不同步
1.Linux使用本地时间作为硬件时间
- 使用 timedatectl 命令,通过运行带有 sudo 前缀的命令,将 RTC 设置为使用本地时间
sudo timedatectl set-local-rtc 1- 重启系统
- 恢复更改
sudo timedatectl set-local rtc 02.Windows使用UTC时间作为硬件时钟
win + r输入regedit打开注册表编辑器。- 转到以下位置
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation-
右键单击空白处,单击新建,然后添加一个新的
Q-WORD(64位)值条目,并将其命名为RealTimeisUniversal。如果您使用的是 32 位 Windows 版本,则需要添加D-WORD(32 位)值条目。 -
添加条目后,双击它并将值设置为
1,然后重新启动系统。
Linux Win 双系统时间不同步
https://astro.qingshanls.icu/posts/linux-win-time/分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
最后更新于 ,距今已过 708 天
部分内容可能已过时