[Seek Help] 双系统切换后,电脑时间混乱,要手动更新。
Tofloor
default avatar
mgmpk
deepin
2025-03-08 12:33
Author

双系统切换后,电脑时间混乱,要手动更新。怎么解决这问题,

Reply Favorite View the author
All Replies
133******73
deepin
2025-03-08 12:59
#1

修改Windows注册表,使其将RTC视为UTC时间

Reply View the author
CTZ老斑鸠
deepin
2025-03-08 13:01
#2

用这个命令:timedatectl set-local-rtc 1

Reply View the author
132******79
deepin
2025-03-08 20:49
#3

这个要看你认可谁的时间了,可以改Windows的,也可以改Linux的。

方法一:让 Linux 使用本地时间,修改 Linux 配置,使其像 Windows 一样将硬件时钟视为本地时间

终端执行

timedatectl set-local-rtc 1 --adjust-system-clock

方法二:让 Windows 使用 UTC 时间,修改 Windows 注册表,使其像 Linux 一样将硬件时钟视为 UTC

打开注册表编辑器:按下 Win + R,输入 regedit 并回车。

定位到路径:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation

新建 DWORD 值:

右键空白处 → 新建 → DWORD (32-bit) Value。

名称设为 RealTimeIsUniversal,值设为 1。

重启 Windows 使配置生效。

Reply View the author
mgmpk
deepin
2025-03-09 03:51
#4
132******79

这个要看你认可谁的时间了,可以改Windows的,也可以改Linux的。

方法一:让 Linux 使用本地时间,修改 Linux 配置,使其像 Windows 一样将硬件时钟视为本地时间

终端执行

timedatectl set-local-rtc 1 --adjust-system-clock

方法二:让 Windows 使用 UTC 时间,修改 Windows 注册表,使其像 Linux 一样将硬件时钟视为 UTC

打开注册表编辑器:按下 Win + R,输入 regedit 并回车。

定位到路径:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation

新建 DWORD 值:

右键空白处 → 新建 → DWORD (32-bit) Value。

名称设为 RealTimeIsUniversal,值设为 1。

重启 Windows 使配置生效。

按你这个修改注册表,已解决,谢谢

Reply View the author