修改Windows注册表,使其将RTC视为UTC时间
用这个命令:timedatectl set-local-rtc 1
这个要看你认可谁的时间了,可以改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 使配置生效。
这个要看你认可谁的时间了,可以改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 使配置生效。
按你这个修改注册表,已解决,谢谢
Popular Events
More
双系统切换后,电脑时间混乱,要手动更新。怎么解决这问题,