星期五, 1月 08, 2010

Windows XP 設定 NTP

啟用 NTPServer:
找出下列登錄子機碼:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\
在右窗格中,用滑鼠右鍵按一下 [Enabled],然後按一下 [修改]。
在 [編輯 DWORD 值] 對話方塊的 [數值資料] 下方,輸入 1,再按一下 [確定]。

找出並按一下下列登錄子機碼:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags

在右窗格中,用滑鼠右鍵按一下 [AnnounceFlags],然後按一下 [修改]。
在 [編輯 DWORD 值] 的 [數值資料] 方塊中,輸入 5,再按一下 [確定]。(參考下面說明)
結束「登錄編輯程式」。

在命令提示字元中輸入下列命令,然後按下 ENTER,以重新啟動 Windows Time 服務:

net stop w32time && net start w32time

AnnounceFlags 說明:
Version: XP, Vista, Server 2003, and Server 2008

This entry controls whether this computer is marked as a reliable time server. A computer is not marked as reliable unless it is also marked as a time server.

0x00 Not a time server
0x01 Always time server
0x02 Automatic time server
0x04 Always reliable time server
0x08 Automatic reliable time server

The default value for domain members is 10. The default value for stand-alone clients and servers is 10.

參考:http://support.microsoft.com/kb/314054

沒有留言: