2005年10月08日
Windowsネットワークの時刻同期
必要になるときには忘れてるのでメモφ(・_・”)
Active Directory環境のPDCでSNTPサーバを設定する。
net time /setsntp:<NTPサーバのIPアドレス>,0x1
net stop w32time & net start w32time
もしくは
w32tm /config /manualpeerlist:<NTPサーバのIPアドレス>,0x1 /syncformflags:manual
w32tm /config /update
PDCがダウンしたときのために、ほかのドメインコントローラには外部NTPサーバから時刻を取得できるようにレジストリを変更しておく。
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
値の名前 / Type
型 / REG_SZ
値の内容 / ALLSync
値の名前 / NtpServer
型 / REG_SZ
値の内容 / <外部NTPサーバのIPアドレス>,0x2
設定したら、w32timeサービスを再起動。
- by
- at 23:59









