zoukankan      html  css  js  c++  java
  • 如何将Win7做为NTP服务器

    1. 修改注册表项
        HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer     
            Enabled 设定为 1(默认0)
        HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfig
            AnnounceFlags 设定为 5 (默认 10)
    ValueMeaning

    0

    Timeserv_Announce_No, Reliable_Timeserv_Announce_No. The domain controller does not advertise time service.

    1

    Timeserv_Announce_Yes. The domain controller always advertises time service.

    2

    Timeserv_Announce_Auto. The domain controller automatically determines whether it should advertise time service.

    4

    Reliable_Timeserv_Announce_Yes. The domain contoller will always advertise reliable time service.

    8

    Reliable_Timeserv_Announce_Auto. The domain controller automatically determines whether it should advertise reliable time service.

    2. 禁用防火墙或设置例外,UDP 123端口。
    3. 运行 services.msc,将Windows Time服务设置成自动(延迟启动)
         Win7下如果设置成自动,下次重启后此服务会被停止,原因不详。
         经实验,延迟启动也并不需要用户登录即可启动。
    4. 重启动校时服务:net stop w32time && net start w32time 
     
    网络设备(如cisco、h3c交换机……)不能正常同步NTP服务器时间:
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfigLocalClockDispersion
    值修改为0 (默认为0x0000000a)
     
    转自:http://blog.sina.com.cn/s/blog_671c54fe0102v4wy.html
  • 相关阅读:
    ckplayer不支持谷歌92版本,flashplayer不支持m3u8的方案
    git merge 失败
    在SuperSocket中使用Unity注入
    在WPF中集成SuperSocket 2.0
    在WPF中打印A4纸
    使用 HoloLens 仿真器
    C# 优化内存和运行效率
    Redis 高可用篇:你管这叫 Sentinel 哨兵集群原理
    Redis 核心篇:唯快不破的秘密
    Redis 日志篇:无畏宕机快速恢复的杀手锏
  • 原文地址:https://www.cnblogs.com/wzwyc/p/7889516.html
Copyright © 2011-2022 走看看