WINDOWS的NTP配置

将下面内容复制到记事本,保存成ntp.bat

net stop w32Time
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /f /v SpecialPollInterval /t REG_DWORD /d 600
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /f /v SpecialPollTimeRemaining /t REG_MULTI_SZ /d "pool.ntp.org,0"
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers /f /v 0 /t REG_SZ /d "pool.ntp.org"
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers /f /t REG_SZ /d "0"
net start w32Time
上一篇:get与post需要注意的几点


下一篇:【原创】公司各个阶段 CTO 需要做什么?(上篇)