Synchronization of windows 10 time synchronization address + firewall settings

Time:2021-3-4

When the time synchronization server of Microsoft cannot be accessed for some reason, the domestic time server can be designated to synchronize the time of the operating system.

1. Modify the time synchronization address

Save the text below as timesync.reg , and then double-click to confirm.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]

@="3"

"1"="s2e.time.edu.cn"
"2"="s1b.time.edu.cn"
"3"="ntp.sjtu.edu.cn"
"4"="s1c.time.edu.cn"
"5"="s2c.time.edu.cn"
"6"="s2b.time.edu.cn "

Among them, 1 and 2 are the default, followed by 3, 4, 5 and 6 are the custom spare addresses.

2. Add the program to the rules allowed by the firewall

"C:\Windows\System32\w32time.dll"