将下面内容复制到记事本,保存成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

 

posted on 2016-03-28 15:12  飞儿传媒  阅读(1772)  评论(0编辑  收藏  举报
飞儿传媒