Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]      
@="1"
"1"="time.windows.com"
"3"="time-nw.nist.gov"
"5"="time-b.nist.gov"
"2"="time.nist.gov"
"4"="time-a.nist.gov"
"6"="202.112.10.36,0"
"7"="210.72.145.44,0"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Parameters]
"NtpServer"="time.nist.gov"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpClient]
"SpecialPollInterval"=dword:00000e10


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Config]
"AnnounceFlags"=dword:00000005

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpServer]
"Enabled"=dword:00000001

 

以上文件另存成 .reg  导入即可。

解释:

1. 添加时间源服务器

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers]      
@="1"
"1"="time.windows.com"
"3"="time-nw.nist.gov"
"5"="time-b.nist.gov"
"2"="time.nist.gov"
"4"="time-a.nist.gov"
"6"="202.112.10.36,0"
"7"="210.72.145.44,0"

 

2. 指定时间源服务器

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Parameters]
"NtpServer"="time.nist.gov"

 

3.设置采集周期

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpClient]
"SpecialPollInterval"=dword:00000e10

 

4.设置权威NTP服务器

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\Config]
"AnnounceFlags"=dword:00000005

 

5.开启NTP服务器

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\NtpServer]
"Enabled"=dword:00000001

 

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2021-12-09
  • 2021-06-29
  • 2022-01-16
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2021-07-08
  • 2021-12-09
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案