确保w32tm服务启动
net start w32time
net stop w32time (停止)
通过微软公司的时间服务器(位于time.windows.com)检查5个时间样本,验证时间服务器的正确程度。 a+表示超前,a—表示落后
w32tm /stripchart /computer:time.windows.com /samples:5 /dataonly
与internet时间同步
w32tm /config "/manualpeerlist:time.nist.gov time.windows.com" /syncfromflags:manual /reliable:yes /update
此处使用了两个时间服务器同步,也可多增加几个。
参数syncfromflags的意思是指将于manualpeerlist组中的其中一个时间服务器同步
<a href="http://s5.51cto.com/wyfs02/M00/87/41/wKioL1fZEVmwgCTKAACWesnoyD0965.png-wh_500x0-wm_3-wmp_4-s_9609029.png" target="_blank"></a>
王淑江老师的视频教程,供大家参考:http://edu.51cto.com/index.php?do=lesson&id=15725
本文转自 烟台小崔 51CTO博客,原文链接:http://blog.51cto.com/seawind/1852798