he-sb / tech

My blog related to technique.
MIT License
9 stars 2 forks source link

同步 Linux 与 Windows 系统时间 #13

Closed he-sb closed 3 years ago

he-sb commented 4 years ago
  1. Windows 使用 UTC

  2. Linux 使用 RTC (localtime)

he-sb commented 4 years ago

参考链接:

同步 Linux 双系统的时间 | Mogeko`s Blog

如何解决 Windows 和 Manjaro 双系统时间差8小时的问题_运维_哈哈餐馆的博客-CSDN博客

he-sb commented 4 years ago

实测 Windows 使用 UTC 时间后依然可以开启时间同步,不影响

he-sb commented 4 years ago

管理员权限运行:

reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f

重启。

he-sb commented 3 years ago

同步 Linux 与 Windows 系统时钟 | HE-SB-技术栈