010-63495805
您的当前位置:首页 > 行业知识 > 云服务器知识 >

阿里云服务器Windows系统的NTP配置

时间:2016-04-21

sc config W32Time start= delayed-auto
 
net start w32time
 
reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient  /v  SpecialPollInterval /t REG_DWORD /d 0x12c /f
 
w32tm /config /manualpeerlist:"ntp1.aliyun.com,0x1 ntp2.aliyun.com,0x1 ntp3.aliyun.com,0x1 ntp4.aliyun.com,0x1 ntp5.aliyun.com,0x1 ntp6.aliyun.com,0x1 ntp1.cloud.aliyuncs.com,0x1 ntp2.cloud.aliyuncs.com,0x1 ntp3.cloud.aliyuncs.com,0x1 ntp4.cloud.aliyuncs.com,0x1 ntp5.cloud.aliyuncs.com,0x1 ntp6.cloud.aliyuncs.com,0x1 ntp7.cloud.aliyuncs.com,0x1 ntp8.cloud.aliyuncs.com,0x1 ntp9.cloud.aliyuncs.com,0x1 ntp10.cloud.aliyuncs.com,0x1 ntp11.cloud.aliyuncs.com,0x1 ntp12.cloud.aliyuncs.com,0x1" /syncfromflags:manual /reliable:yes  /update

北京爱牛科技有限公司©版权所有 京ICP备10200143号-3