首页 > Windows开发 > 详细

关于win时间同步的解决方案

时间:2017-08-01 11:54:31      阅读:341      评论:0      收藏:0      [点我收藏+]

将以下的批处理执行:
net stop w32time

sc config w32time start= auto
net start w32time
w32tm /config /update /manualpeerlist:"NEW-PARSLEY.SRV.CS.CMU.EDU NEW-SAGE.SRV.CS.CMU.EDU NEW-ROSEMARY.SRV.CS.CMU.EDU CORIANDER.SRV.CS.CMU.EDU FENNEL.SRV.CS.CMU.EDU PAPRIKA.SRV.CS.CMU.EDU"
w32tm /resync
pause
可以设置当前系统的时间服务器同步列表,用命令 w32tm /query /peers,可以查看清单。

如果你的系统时间报错,如下图:
 技术分享

修改 注册表如下:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config

Look out for the keys MaxPosPhaseCorrection and MaxNegPhaseCorrection.
Set them to 0xFFFFFFFF to allow any change
restart the Windows time service

From command line run – w32tm /resync

The time will update correctly! 

参考的URL:
https://latitude-it.net/date-and-time-wrong-after-reboot/ ;

关于win时间同步的解决方案

原文:http://www.cnblogs.com/itfat/p/7267480.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!