




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、用組策略配置windows時(shí)間客戶端 用組策略配置windows時(shí)間客戶端 2009-12-15 23:09經(jīng)常我們會(huì)發(fā)現(xiàn)自己的計(jì)算機(jī)時(shí)間不準(zhǔn)確,即使校對(duì)之后,不長時(shí)間發(fā)現(xiàn)時(shí)間又 不準(zhǔn)確了。通常這跟主板上的芯片質(zhì)量有關(guān)系,因?yàn)槊颗_(tái)計(jì)算機(jī)的時(shí)鐘發(fā)生器的 精度不同。對(duì)于一般人來說,如果時(shí)間差異不大,都可以接受,但是對(duì)于許多時(shí) 間相關(guān)的系統(tǒng)來說,例如銀行、電信等,這就非常重要的,這些系統(tǒng)至少需要保 證同一套系統(tǒng)屮所有服務(wù)器的時(shí)間相一致。解決方法是使用軟件自動(dòng)對(duì)時(shí),時(shí) 間協(xié)議就是用于這個(gè)目的??梢栽诰钟蚓W(wǎng)中配置一個(gè)時(shí)間服務(wù)器,然后所有客戶 端與之同步時(shí)間。因特網(wǎng)上也有許多免費(fèi)的時(shí)間服務(wù)器?,F(xiàn)在的操作系
2、統(tǒng)大部分都自帶時(shí)間服務(wù)器或客戶端軟件,只需要稍微配置一下, 就可以與吋間服務(wù)器同步,從而保證自己的吋間與服務(wù)器相一致。windows也 不例外,自windows 2000開始,就可以很方便地配置時(shí)間客戶端或時(shí)間服務(wù)。 下面以windows 2003為例,使用組策略的方法來配置時(shí)間客戶端。首先選擇“開始”“運(yùn)行”,并輸入gpedit.msc:打開組策略編輯器,并選擇“計(jì)算機(jī)配置”一“管理模板”一“系統(tǒng)”一"windows時(shí)間服務(wù)”“時(shí)間提供程序”:文件(£)操作)查看(v)幫助(m)q *|図虜回扁組策略緘輯磊s “本地計(jì)算機(jī)“策略 自測計(jì)算機(jī)配置 | 0口軟件設(shè)置 宙勺wi
3、ndows設(shè)置| &管理模板 由口 windows組件 白系統(tǒng)i口用戶配置文件i”口腳本:.(tj 登錄i口磁盤配額i l±-u網(wǎng)絡(luò)登錄i ”口組策略|”遠(yuǎn)程協(xié)助i”口系統(tǒng)還原i由口錯(cuò)誤報(bào)告功能i口 windows文件保扌|”遠(yuǎn)程過程調(diào)用h-ftl windows 時(shí)間服今 l日時(shí)間提供程序 internet 通信管 由 口分布式com 0- 0網(wǎng)絡(luò) i” 口打印機(jī) 曰”廳用戶配置$-u軟件設(shè)置e-(lj windows 設(shè)置a-u管理模板選擇一個(gè)項(xiàng)目來查看它的描述。設(shè)置削啟用windows ntp客丿 念配置windows ntp客丿 爺啟用windows ntp服g在右邊
4、欄中選擇“啟用windows ntp客戶端”,并在“啟用windows ntp客戶端” 對(duì)話框中選擇“已啟用”:點(diǎn)擊“下一設(shè)置”,并在“配置windows ntp客戶端”對(duì)話框中配置相應(yīng)信息(例如將 ntpserver 設(shè)置為 time. lib. tsinghua. edu. cn, 0x1,選擇 type 為 ntp):點(diǎn)擊“下一設(shè)置”,并在對(duì)話框屮選擇“已禁用”:啟用windows etf巌務(wù)磊厘性設(shè)置i說明i啟用windows ntp服務(wù)器下一設(shè)置)r未配置(c)c已啟用0)e已禁用)支持于:microsoft windows xp professional 或上一設(shè)置(£)
5、“確定“取消1應(yīng)用)1點(diǎn)擊“確定”,完成配置。z后系統(tǒng)將每小時(shí)(3600秒)與時(shí)間服 務(wù)器同步一次,這可以通過打開期和時(shí)間屈性”對(duì)話框來確 認(rèn):關(guān)于如何配置吋間服務(wù)器的方法,請(qǐng)參考此文檔。目錄使用windows操作系統(tǒng)的客戶端如何設(shè)置ntp網(wǎng)絡(luò)服務(wù)器11 windows 2000. 11.1命令介紹11.1.1 net time. 11.1.2 w32time. 11.1.3設(shè)置示例21.1.4可能出現(xiàn)的問題22 windows xp. 22.1命令介紹22.1.1 net time. 22.1.2 w32time. 32.1.3設(shè)置示例32.1.4可能出現(xiàn)的問題33 windows serv
6、er 2003. 33.1命令介紹33.1.1 net time. 33.1.2 w32time. 43.1.3設(shè)置示例43.1.4可能出現(xiàn)的問題41 windows 20001.1命令介紹windows 2000 f有關(guān)吋間的命令有兩個(gè),net time和w32tm,下血對(duì)這兩個(gè)命令的 語法和參數(shù)加以說明。1.1.1 net timenet time命令使計(jì)算機(jī)的時(shí)鐘與另一個(gè)計(jì)算機(jī)或域的時(shí)鐘同步。如果在沒有/set選項(xiàng)的情況下使用,則顯示另一個(gè)計(jì)算機(jī)或域的吋間。net time的語法為:net time computername | /domain:domainname | /rtsdoma
7、in:domainname /setnet time computername /querysntp | /setsntp:ntp server list參數(shù)說明:i無參數(shù),顯示被指派為本地計(jì)算機(jī)的windows服務(wù)器域時(shí)間服務(wù)器的當(dāng)前時(shí)間。i computername,指定要檢查或與之同步的服務(wù)器的名稱。i /domain:domainname,指定要同步時(shí)間的域。i /rtsdomain:domainname,指定要與之同步的可信時(shí)i'可服務(wù)器所在的域。i /set,使計(jì)算機(jī)的時(shí)鐘與指定的計(jì)算機(jī)或域的時(shí)間同步。i /querysntp,顯示當(dāng)前為本地計(jì)算機(jī)或computername
8、所指定的計(jì)算機(jī)配置網(wǎng)絡(luò)時(shí) 間協(xié)議(ntp)服務(wù)器的名稱。i /setsntp:ntp server list,指定木地計(jì)算機(jī)所使用的ntp時(shí)間服務(wù)器的列表。該列表 可以包含ip地址或dns名稱,用空格分開。如果要使用多個(gè)時(shí)間服務(wù)器,該列表必須用 引號(hào)引起來。例如 net time /setsntp:,,ox1 ,0x1其 屮的0x1是在使用完整域名稱作為ntp服務(wù)器的時(shí)候需要的,如果使用ip地址則可以忽 略。1.1.2 w32timew32tm是用來同步木地計(jì)算機(jī)與遠(yuǎn)程計(jì)算機(jī)或域時(shí)間的類似命令。在域控制器上使用w3 2tm前必須停止w32
9、time,完成后再啟動(dòng)w32time0 w32tm的語法為:w32tm tz | -s computer | adj | -adjoff | -source | -once -test -v -p -period 關(guān)于w32tm語法的詳細(xì)說明,可以在命令提示符下鍵入w32tm /?,將列出語法和所冇 參數(shù)的說明。1.2注冊(cè)表項(xiàng)以下注冊(cè)表項(xiàng)位于 hklmsystemcurrentcontrolsetservicesw32time1.2.1 parametersxperiodhklmsystemcurrentcontrolsetservicesw32timeparametersperiod 注冊(cè)
10、表項(xiàng)控制著windows時(shí)間服務(wù)同步的頻率。為它指定的值只能是以i、列表中的某個(gè)特殊 值:i 65531, dailyspecialskew設(shè)置為每隔45分鐘同步一次,直到有一次成功,然 后每天同步一次。i 65532, specialskew -設(shè)置為每隔45分鐘同步一次,直到有三次成功,然后每隔 八小時(shí)同步一次。這是默認(rèn)設(shè)置。i 65533, weekly"設(shè)置為每隔七天同步一次。i 65534, ”tridaily” -設(shè)置為每隔三天同步一次。i 65535, ”bidaily” -設(shè)置為每隔兩天同步一次。i 0 -對(duì)于nt5ds,則每隔45分蝕同步一次,直到有三次成功,然后每
11、隔八小時(shí)同步 一次。對(duì)于ntp,則每隔8小時(shí)同步一次。i freq - freq代表您希望windows時(shí)問服務(wù)每天同步的次數(shù)。如果您不想使用那些事 先指定好的值,則必須使用此選項(xiàng)。1.3設(shè)示例設(shè)置windows time服務(wù):在''控制面板沖打開“管理工具”,再打開“服務(wù)”;在服務(wù)中 找到“windows time",雙擊服務(wù)名稱,在打開的“windows time的屬性”中設(shè)置“啟動(dòng) 類型”為“自動(dòng)”,再按下啟動(dòng)按鈕。在“運(yùn)行(r)”中用“cmd”命令進(jìn)入在dos命令行窗體;執(zhí)行以下命令(注意空格):net time /setsntp:32(
12、設(shè)置時(shí)間服務(wù)器地址)net stop w32time(停止時(shí)間服務(wù))net start w32time(啟動(dòng)時(shí)間服務(wù))w32tm -s(立即同步時(shí)間)1.4可能出現(xiàn)的問題計(jì)算機(jī)沒有同步。因?yàn)闆]有可用的時(shí)間數(shù)據(jù)。(the computer did not resync becau se no time data was available)出現(xiàn)該問題的原因可能是windows time service沒有止確的啟動(dòng),或者與組策略屮的時(shí) 間配置沖突。請(qǐng)?jiān)诮M策略(gpedit.msc)中將配置更改為“未配置”。2 windows xp2.1命令介紹windows xp下行關(guān)時(shí)間的命令有兩個(gè),net
13、time和w32tm,下面對(duì)這兩個(gè)命令的語法 和參數(shù)加以說明。2.1.1 net timenet time命令使計(jì)算機(jī)的時(shí)鐘與另一個(gè)計(jì)算機(jī)或域的時(shí)鐘同步。如果在沒有/set選項(xiàng)的 情況下使用,則顯示另一個(gè)計(jì)算機(jī)或域的時(shí)間。net time的語法為:net time computername | /domain:domainname | /rtsdomain:domairmame /setnet time computername /querysntp | /setsntp:ntp server list參數(shù)說明:i無參數(shù),顯示被指派為本地計(jì)算機(jī)的windows服務(wù)器域時(shí)間服務(wù)器的當(dāng)前時(shí)間。i
14、computername,指定要檢查或與之同步的服務(wù)器的名稱。i /domain:domainname,指定要同步時(shí)間的域。i /rtsdomain:domainname,指定要與之同步的可信時(shí)間服務(wù)器所在的域。i /set,使計(jì)算機(jī)的時(shí)鐘與指定的計(jì)算機(jī)或域的時(shí)間同步。i /querysntp,顯示當(dāng)前為本地計(jì)算機(jī)或computername所指定的計(jì)算機(jī)配置網(wǎng)絡(luò)時(shí) 間協(xié)議(ntp)服務(wù)器的名稱。i /setsntp:ntp server list,指定本地計(jì)算機(jī)所使用的ntp時(shí)間服務(wù)器的列表。該列表 可以包含ip地址或dns名稱,用空格分開。如果要使用多個(gè)時(shí)間服務(wù)器,該列表必須用 引號(hào)引起來。
15、例如 net time /setsntp:",0x1 ,0x15,其 中的0x1是在使用完整域名稱作為ntp服務(wù)器的時(shí)候需要的,如果使用ip地址則可以忽 略。2.1.2 w32timew32tm是用來同步本地計(jì)算機(jī)與遠(yuǎn)程計(jì)算機(jī)或域時(shí)間的類似命令。在域控制器上使用w3 2tm前必須停止w32time,完成后再啟動(dòng)w32time0 w32tm的語法為:w32w32tm /? | /register | /unregister w32tm /monitor /domain :<domain name>/computers
16、:<name>,<name>,<name>./th reads :< num>w32tm /ntte <nt time epoch>w32tm /ntpte <ntp time epoch>w32tm /resync /computer:<computer> /nowait /rediscover /softw32tm /stripchart /computer:<target> /period :<refresh>/dataonly /samples:<count>w32t
17、m /config /computer:<target> /update/manualpeerlist:<peers> /syncfromflags:<source>/localclockdispersion:<seconds>w32tm /tzw32tm /dumpreg /subkey :<key> /computer:<target>關(guān)于w32tm語法的詳細(xì)說明,可以在命令提示符下鍵入w32tm /?,將列出語法和所有 參數(shù)的說明。2.2注冊(cè)表項(xiàng)以下注冊(cè)表項(xiàng)位于 hklmsystemcuirentcontrolset
18、servicesw32tinne注冊(cè)表項(xiàng)maxposphasecorrecti on路徑hklmsystemcurrentcontrolsetservicesw32timeconfig注意該項(xiàng)指定服務(wù)町進(jìn)行的最人止時(shí)間校準(zhǔn)量(以秒為單位)。如果服務(wù)確定某個(gè)更改幅度人丁所需的幅度,它將記錄一個(gè)事件。特殊情況:oxffffffff表示總是校準(zhǔn)時(shí)間。域成員的默 認(rèn)值是oxffffffff。獨(dú)立客戶端和服務(wù)器的默認(rèn)值是54,000 (15小時(shí))。注冊(cè)表項(xiàng)maxnegphasecorrection路徑hklmsystemcurre ntcon trolsetservicesw32timeconfig注意
19、該項(xiàng)指定服務(wù)町進(jìn)行的最大負(fù)時(shí)間校準(zhǔn)量(以秒為單位)。如果服務(wù)確定某個(gè)更改幅度大于 所需的幅度,它將轉(zhuǎn)而記錄一個(gè)事件。特殊情況:表示總是校準(zhǔn)時(shí)間。域成員的默認(rèn)值 是oxffffffff。獨(dú)立客戶端和服務(wù)器的默認(rèn)值是54,000 (15小時(shí))。注冊(cè)表項(xiàng)maxpolllnterval路徑hklmsystemcurrentcontrolsetservicesw32timeconfig注意該項(xiàng)指定系統(tǒng)輪詢間隔所允許的最大間隔(單位是對(duì)數(shù)表示的秒)。請(qǐng)注意,盡管系統(tǒng)必須 根據(jù)預(yù)定的間隔進(jìn)行輪詢,但是提供程序可以根據(jù)請(qǐng)求拒絕生成示例。域成員的默認(rèn)值是 10o獨(dú)立客戶端和服務(wù)器的默認(rèn)值是15«注冊(cè)表
20、項(xiàng)specialpoll interval路徑hklmsystemcurre ntcontrolsetservicesw32timetimeprovidersntpclie nt注意該項(xiàng)指定手動(dòng)對(duì)等端的特殊輪詢間隔(以秒為單位)。當(dāng)啟用special interval 0x1標(biāo)志 時(shí),w32time將使用此輪詢間隔而非操作系統(tǒng)確定的輪詢間隔。域成員的默認(rèn)值是 3,600。獨(dú)立客戶端和服務(wù)器的默認(rèn)值是604,800。注冊(cè)表項(xiàng)maxallowedphaseoffset路徑hklmsystemcurrentcontrolsetservicesw32timeconfig注意該項(xiàng)指定w32time嘗試使
21、用時(shí)鐘速率調(diào)整計(jì)算機(jī)時(shí)鐘的最大偏移(以秒為單位)。當(dāng)偏 移大于該速率時(shí),w32time將直接設(shè)置計(jì)算機(jī)時(shí)鐘。域成員的默認(rèn)值是300。獨(dú)立客戶 端和服務(wù)器的默認(rèn)值是1o2.2.1 parametersxntpserverhklmsystemcurrentcontrolsetservicesw32timeparametersntpserverdata typerangedefault valuereg_szdns name or ip address,0x1 | 0x2 | 0x3time, ,0x1descriptionstores a list of time sources that thi
22、s computer uses to synchronize its tim e. the time sources appear either as a dns name or an ip address of the time source server. the list is space-delimited, with one address per line.each time source may also be followed by a comma and a dword contai ning flags for special handling of that time s
23、ource. if the flags are not spe cified, they default to 0x0. the available flags are:valuemeaning0x1instead of following the ntp specification, wait for the interval specified in the specialpolll nterval en try before attempting to rec on tact this time source setting this flag decreases network usa
24、ge, but it also decreases accuracy.0x2use this time source only as a fallback. if all time sources that are not fallbacks have failed, then the system selects one fallback time source at random and uses it.0x4set the local computer to operate in symmetric active mode in the association with this sou
25、rce 0x8set the local computer to operate in client mode in the association with this source例如 net time /setsntp:m,0x1 ,0x1其屮的 0x1 是 在使用完整域名稱作為ntp服務(wù)器的時(shí)候需要的,如果使用ip地址則可以忽略。change methodyou can change the value of this entry by using the /setsntp parameter of the net time com
26、mand at the command line. for more information about net time, see help and support center for windows xp.2.2.1 parametersxtypehklmsystemcurrentcontrolsetservicesw32timeparametersdata typerangedefault valuereg_sznosync | ntp | nt5ds |allsyncnt5ds for computers joined to a domain; ntp for othersdescr
27、iptionspecifies the type of time sources, if any, to which the computer synchron izes its time.valuemeaningnosyncdoes not synchronize timentpsynchronizes time to the time sources specified in the parametersxntpserver entry.nt5dssynchronizes time to the domain hierarchy.allsyncuses all synchronizatio
28、n mechanisms availablechange methodto change the value of this entry, use the command-line tool w32tm.exe (specifically, the command w32tm /config /syncfromflags). for more inform ation about w32tm.exe, see windows server 2003 help and support cente r.activation methodto make changes to this entry e
29、ffective, at the command line, type: w32tm /config /update2.3設(shè)示例2.3.1使用''時(shí)間和日期屬性''設(shè)置對(duì)話框雙擊任務(wù)欄右下角“時(shí)間”,打開“時(shí)間和日期屬性”設(shè)置對(duì)話框;選擇“in ternet時(shí)間'標(biāo)簽;選中“口動(dòng)與internet時(shí)間服務(wù)器同步”選項(xiàng),在“服務(wù)器”中填入網(wǎng)絡(luò)時(shí)間服務(wù)器的ip地址, 如"32"(只能輸入1個(gè)服務(wù)器地址)。按“立即更新”可直接同步。2.3.2命令方式在“運(yùn)行(r)”中用“crrid”命令進(jìn)入在dos命令行窗體;執(zhí)行以下
30、命令(注意空格):net time /setsntp: 32(設(shè)置時(shí)間服務(wù)器地址,可多個(gè))time, ,0x1"(停止時(shí)間服務(wù))net stop w32time(啟動(dòng)時(shí)間服務(wù))net start w32time(立即同步時(shí)間)w32tm /resync /nowait /rediscover2.4可能出現(xiàn)的問題計(jì)算機(jī)沒冇同步。因?yàn)闆]冇町用的時(shí)間數(shù)據(jù)。(the computer did not resync becau se no time data was available)出現(xiàn)該問題的原因可能是windows time service沒有正確的啟動(dòng),或者與組策
31、略中的時(shí) 間配置沖突。請(qǐng)?jiān)诮M策略(gpedit.msc)中將配置更改為“未配置”。3 windows server 20033.1命令介紹windows server 2003 i、冇關(guān)時(shí)間的命令冇兩個(gè),net time和w32tm,卜面對(duì)這兩 個(gè)命令的語法和參數(shù)加以說明。3.1.1 net timenet time命令使計(jì)算機(jī)的時(shí)鐘與另一個(gè)計(jì)算機(jī)或域的時(shí)鐘同步。如果在沒有/set選項(xiàng)的 情況下使用,則顯示另一個(gè)計(jì)算機(jī)或域的時(shí)間。net time的語法為:net time computername | /domain:domainname | /rtsdomain:domainname /se
32、tnet time computername /querysntp | /setsntp:ntp server list參數(shù)說明:i無參數(shù),顯示被指派為木地計(jì)算機(jī)的windows服務(wù)器域時(shí)間服務(wù)器的當(dāng)前時(shí)間。i computername,指定要檢查或與之同步的服務(wù)器的名稱。i /domain:domainname,指定要同步時(shí)間的域。i /rtsdomain:domainname,指定要與之同步的可信時(shí)間服務(wù)器所在的域。i /set,使計(jì)算機(jī)的時(shí)鐘與指定的計(jì)算機(jī)或域的時(shí)間同步。i /querysntp,顯示當(dāng)前為本地計(jì)算機(jī)或computername所指定的計(jì)算機(jī)配置網(wǎng)絡(luò)時(shí) 間協(xié)議(ntp)服務(wù)
33、器的名稱。i /setsntp:ntp server list,指定本地計(jì)算機(jī)所使用的ntp時(shí)間服務(wù)器的列表。該列表 可以包含ip地址或dns名稱,用空格分開。如果要使用多個(gè)時(shí)間服務(wù)器,該列表必須用 引號(hào)引起來。參見注冊(cè)表項(xiàng)中ntpserver項(xiàng)說明。3.1.2 w32timew32tm是用來同步木地計(jì)算機(jī)與遠(yuǎn)程計(jì)算機(jī)或域時(shí)間的類似命令。在域控制器上使用w32tm前必須停止w32time,完成后再啟動(dòng)w32time0 w32tm的語法為:w32tm /? | /register | /unregister w32tm /monitor /domain :<domain name>/
34、computers :<name>,< namea,vnamea./threads :<num>w32tm /ntte <nt time epoch>w32tm /ntpte <ntp time epoch>w32tm /resync /computer:<computer> /nowait /rediscover /softw32tm /stripchart /computer:<target> /period :<refresh>/dataonly /samples:<count>w32t
35、m /config /computer:<target> /update/manualpeerlist:<peers> /syncfromflags:<source>/localclockdispersion:<seconds>w32tm /tzw32tm /dumpreg /subkey:<key> /computer:<target>關(guān)t- w32tm語法的詳細(xì)說明,對(duì)以在命令提示符下鍵入w32tm /?,將列岀語法和所有 參數(shù)的說明。3.2注冊(cè)表項(xiàng)以下注冊(cè)表項(xiàng)位于 hklmsystemcurrentcontrolse
36、tservicesw32time注冊(cè)表項(xiàng)maxposphasecorrection路徑hklmsystemcurrentc on trolsetservicesw32timeconfig注意該項(xiàng)指定服務(wù)可進(jìn)行的最大正時(shí)間校準(zhǔn)量(以秒為單位)。如果服務(wù)確定某個(gè)更改幅度大于 所需的輛度,它將記錄一個(gè)事件。特殊情況:oxffffffff表示總是校準(zhǔn)時(shí)間。域成員的默 認(rèn)值是oxffffffff.獨(dú)立客戶端和服務(wù)器的默認(rèn)值是54,000 (15小時(shí))。注冊(cè)農(nóng)項(xiàng)maxnegphasecorrection路徑hklmsystemcurrentcontrolsetservicesw32timeconfig注意
37、該項(xiàng)指定服務(wù)可進(jìn)行的最人負(fù)時(shí)間校準(zhǔn)量(以秒為單位)。如果服務(wù)確定某個(gè)更改幅度人于 所需的幅度,它將轉(zhuǎn)而記錄一個(gè)事件。特殊情況:-1表示總是校準(zhǔn)吋間。域成員的默認(rèn)值 是oxffffffffo獨(dú)立客戶端和服務(wù)器的默認(rèn)值是54,000 (15小時(shí))。注冊(cè)表項(xiàng)maxpoll interval路徑hklmsystemcurrentc on trolsetservicesw32timeconfig注意該項(xiàng)指定系統(tǒng)輪詢間隔所允許的最大間隔(單位是對(duì)數(shù)表示的秒)。請(qǐng)注怠,盡管系統(tǒng)必須 根據(jù)預(yù)定的間隔進(jìn)行輪詢,但是提供程序可以根據(jù)請(qǐng)求拒絕生成示例。域成員的默認(rèn)值是 10。獨(dú)立客戶端和服務(wù)器的默認(rèn)值是15。注冊(cè)農(nóng)
38、項(xiàng)specialpoll interval路徑hklmsystemcurrentcontrolsetservicesw32timetimeprovidersntpclient注意該項(xiàng)指定于動(dòng)對(duì)等端的特殊輪詢間隔(以秒為單位)。當(dāng)啟用special interval 0x1標(biāo)志 吋,w32time將使用此輪詢間隔而非操作系統(tǒng)確定的輪詢間隔。域成員的默認(rèn)值是 3,600。獨(dú)立客戶端和服務(wù)器的默認(rèn)值是604,800。注冊(cè)表項(xiàng)maxallowedphaseoffset路徑hklmsystemcurrentc on trolsetservicesw32timeconfig注意該項(xiàng)指定w32time嘗試使
39、用時(shí)鐘速率調(diào)整計(jì)算機(jī)時(shí)鐘的最大偏移(以秒為單位)。當(dāng)偏 移大于該速率吋,w32time將直接設(shè)程計(jì)算機(jī)吋鐘。域成員的默認(rèn)值是300。獨(dú)立客戶 端和服務(wù)器的默認(rèn)值是1o3.2.1 parametersxntpserverhklmsystemcurrentc on trolsetservicesw32timeparametersntpserverdata typerangedefault valuereg_szdns name or ip address,0x1 | 0x2 | 0x3time, ,0x1descriptionstores a list of time sources that t
40、his computer uses to synchronize its tim e. the time sources appear either as a dns name or an ip address of the time source server. the list is space-delimited, with one address per line.each time source may also be followed by a comma and a dword con tai ning flags for special handling of that tim
41、e source. if the flags are not spe cified, they default to 0x0. the available flags are:valuemeaning0x1instead of following the ntp specification, wait for the interval specified in the specialpollinterval entry before attempting to recontact this time source setting this flag decreases network usag
42、e, but it also decreases accuracy.0x2use this time source only as a fallback .if all time sources that are not fallbacks have failed, then the system selects one fallback time source at random and uses it0x4set the local computer to operate in symmetric active mode in the association with this sourc
43、e 0x8set the local computer to operate in client mode in the association with this source例女n net time /setsntp:m,0x1 ,0x1其中的 0x1 是在使用完整域名稱作為ntp服務(wù)器的時(shí)候需要的,如果使用ip地址則可以忽略。change methodyou can change the value of this entry by using the /setsntp parameter of the net time comma
44、nd at the command line. for more information about net time, see help and support center for windows server 200 parameterstypehklmsystemcurrentcontrolsetservicesw32timeparametersdata typerangedefault valuereg_sznosync | ntp | nt5ds |allsyncnt5ds for computers joined to a domain; ntp for othersdescriptionspe
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 財(cái)務(wù)管理b卷試題及答案
- 2019-2025年消防設(shè)施操作員之消防設(shè)備高級(jí)技能考前沖刺模擬試卷A卷含答案
- 2019-2025年消防設(shè)施操作員之消防設(shè)備中級(jí)技能考試題庫
- 工程熱力學(xué)應(yīng)用測試及答案
- 農(nóng)業(yè)現(xiàn)代化種植標(biāo)準(zhǔn)化體系建設(shè)方案
- 客戶咨詢與需求記錄表
- 傳統(tǒng)文化在初中英語課中深度融入教案
- 儀器設(shè)備使用說明及維護(hù)保養(yǎng)指導(dǎo)書
- 美容美發(fā)服務(wù)安全責(zé)任協(xié)議書
- 《小學(xué)數(shù)學(xué)幾何圖形識(shí)別與性質(zhì)理解教學(xué)方案》
- 臺(tái)區(qū)智能融合終端通用技術(shù)規(guī)范2022
- 備用圖標(biāo)庫(以便表達(dá)不同主題)
- 教科版二年級(jí)科學(xué)上冊(cè)《書的歷史》教案
- 中轉(zhuǎn)倉庫管理制度
- 新規(guī)重慶市律師服務(wù)收費(fèi)指導(dǎo)標(biāo)準(zhǔn)出臺(tái)
- 工程部SOP(標(biāo)準(zhǔn)操作手冊(cè))
- 人教版(2019)高中英語必修第二冊(cè):Unit5Music單元測試(含答案與解析)
- 21級(jí)全新版大學(xué)進(jìn)階英語2 國際班 教案
- 圖解心經(jīng)心得整理分享PPT課件
- 武漢市第五醫(yī)院重離子治療中心項(xiàng)目可行性研究報(bào)告
- (完整版)學(xué)生課堂學(xué)習(xí)自我評(píng)價(jià)表
評(píng)論
0/150
提交評(píng)論