设置AD时间服务器

在注册表中找到HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceslanmanserverparameters键

然后追加如下键值对"TIMESOURCE"=DWORD:00000001"。这样,当前的服务器就被指定为域内的时间服务器。其他的电脑就会自动和此台服务器同步。

这只是重新设置了时间服务器,还没有解决内部时间服务器和Internet网络上公共时间服务器同步的问题。通过如下命令,可以指定当前机器和Intelnet上哪些时间服务器进行同步:

w32tm /config /syncfromflags:manual /manualpeerlist:ntp.nasa.gov,time.asia.apple.com,time.nist.gov,time-b.nist.gov,ntp.landau.ac.ru,ntp.psn.ru,ntp.cyber-fleet.net

w32tm /config /update

转载于:https://www.cnblogs.com/fangbo/archive/2011/04/13/2014618.html

你可能感兴趣的:(设置AD时间服务器)