WindowsTime服务设置

#更改ntpdate服务器地址
w32tm /config /manualpeerlist:"192.168.110.13" /syncfromflags:manual /reliable:yes /update
#查询当前更改源
w32tm /query /source
#重新同步
w32tm /resync
#在AD中运行,和linux内网服务器同步



同步时提示 时间更改太大 ? 


修改 regedit.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]

#其中的 MaxNegPhaseCorrection 和 MaxPosPhaseCorrection 两项的值, 默认是15小时. 改完后
#重启服务,再同步即可


你可能感兴趣的:(linux,服务器,update,source,manual)