域控配置成 NTP 服務器


 

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM