自动时间和时区的注册表项

自动时间和时区的注册表项

Windows 10。

我想知道负责“自动设置时间”“自动设置时区”设置 > 时间和语言所以我可以使用命令行来修改它们。

答案1

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters](time)
"Type"="NoSync" (off)
"Type"="NTP"    (on)


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tzautoupdate](time zone)
"Start"=dword:00000003 (on)
"Start"=dword:00000004 (off)

答案2

这是(在 MicroSoft 网络服务器上)的“官方”网页,其中对此进行了解释,以防有人有任何疑虑:

https://docs.microsoft.com/es-es/troubleshoot/windows-client/shell-experience/cannot-set-timezone-automatically

希望这能有所帮助。

相关内容