Windows – Registry keys for automatic time and time zones

command linewindows 10windows-registry

Windows 10.

I would like to know the registry keys responsible for "Set time automatically" and "Set time zone automatically" in Settings > Time and Language so I can modify them using the command line.

Best Answer

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)

Related Question