zoukankan      html  css  js  c++  java
  • 域控配置成 NTP 服务器

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDateTimeServers]      
    @="1"
    "1"="time.windows.com"
    "3"="time-nw.nist.gov"
    "5"="time-b.nist.gov"
    "2"="time.nist.gov"
    "4"="time-a.nist.gov"
    "6"="202.112.10.36,0"
    "7"="210.72.145.44,0"

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeParameters]
    "NtpServer"="time.nist.gov"

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeTimeProvidersNtpClient]
    "SpecialPollInterval"=dword:00000e10


    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeConfig]
    "AnnounceFlags"=dword:00000005

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeTimeProvidersNtpServer]
    "Enabled"=dword:00000001

    以上文件另存成 .reg  导入即可。

    解释:

    1. 添加时间源服务器

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionDateTimeServers]      
    @="1"
    "1"="time.windows.com"
    "3"="time-nw.nist.gov"
    "5"="time-b.nist.gov"
    "2"="time.nist.gov"
    "4"="time-a.nist.gov"
    "6"="202.112.10.36,0"
    "7"="210.72.145.44,0"

    2. 指定时间源服务器

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeParameters]
    "NtpServer"="time.nist.gov"

    3.设置采集周期

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeTimeProvidersNtpClient]
    "SpecialPollInterval"=dword:00000e10

    4.设置权威NTP服务器

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeConfig]
    "AnnounceFlags"=dword:00000005

    5.开启NTP服务器

    [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw32timeTimeProvidersNtpServer]
    "Enabled"=dword:00000001

  • 相关阅读:
    数据挖掘-基本流程
    ArcGIS GP应用-GP模型服务发布
    ArcGIS GP应用-GP模型创建-缓冲区分析
    Hadoop2的Yarn和MapReduce2相关
    hadoop学习WordCount+Block+Split+Shuffle+Map+Reduce技术详解
    WordCount示例深度学习MapReduce过程
    数组的几种排序算法的实现
    hBase官方文档以及HBase基础操作封装类
    Hive SQL执行流程分析
    Hive SQL的编译过程
  • 原文地址:https://www.cnblogs.com/reachos/p/14972686.html
Copyright © 2011-2022 走看看