Windows Server 2012 R2 设置 NTP server
转自:http://www.cnblogs.com/sun8134/p/3837115.html
先改注册表:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\ 设置 AnnounceFlags 为 5 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\ 设置 Enabled 为 1然后重启下服务 (其实win server12 默认根本没有启用 w32time 服务…)
net stop w32time net start w32time
最后加入防火墙规则,打开端口 123 ,命令提示符:
netsh firewall add portopening protocol = UDP port =123 name = NTPSERVER然后终端就可以设置同步了
建议终端修改下时间间隔,注册表:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient
SpecialPollInterval 默认为 604800 =7天 * 24小时 * 60分钟 * 60秒 (也就是说默认是一周同步一次)
改为自己认为合适的时间
另外服务器端还有几个可选配置,注册表:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
NtpServer 为同步的时间服务源,可以直接改注册表来指定(不一定非要在 控制面板 中设置,其实俩效果是一样的)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
MaxNegPhaseCorrection 表示若网络时间比本地时间快,超过这个秒数将不自动校正
MaxPosPhaseCorrection 表示若网络时间比本地时间慢,超过这个秒数将不自动校正
若要设置每次必定校正,则设置值为 FFFFFFFF (十六进制)
windows server 2016打开服务器管理器提示windows server essentials windows server2016服务器管理器怎样使用
Windows server2012时间同步NTP配置windows ntp时间同步命令
Windows 2003 NTP 时间服务器设置windows搭建ntp时间服务器
windows server配置ftp服务器以及外网访问windows server ftp服务器搭建
搭建 Windows Server 2012 FTP 服务器windows server 2012配置ftp服务器
Windows Server 搭建FTP服务器实战windows server ftp服务器怎么搭建
windows server 2003 FTP服务器不能下载原因windows server 2003搭建ftp服务器
Windows Essentials 2012(Windows live 2012) 简体中文离线版windows server 2012 essentials
NTP时钟服务器,NTP授时服务器,时间同步服务器NTP授时服务器
Windows Server 2016与Server 2012的比较windows server 2012 essentials