Windows (XP, Vista)で時刻同期(インターネット時刻)の設定をする方法メモ。 設定例の同期先NTPサーバー ntp1.jst.mfeed.ad.jp ntp2.jst.mfeed.ad.jp ntp3.jst.mfeed.ad.jp 設定例の同期間隔 43200秒 (12時間) 同期設定 0x8は明示的なClient/Server Modeによる同期を意味する(この方がトラブルが少ない) w32tm /config /manualpeerlist:"ntp1.jst.mfeed.ad.jp,0x8 ntp2.jst.mfeed.ad.jp,0x8 ntp3.jst.mfeed.ad.jp,0x8" /syncfromflags:manual w32tm /config /update 設定内容確認 w32tm /query /peers 同期間隔設定 reg add HKL
![コマンドラインで時刻同期設定](https://cdn-ak-scissors.b.st-hatena.com/image/square/8e6db12f0166dc52d410a59ae75dc4f0c26bd55a/height=288;version=1;width=512/http%3A%2F%2Fjasmin.sakura.ne.jp%2Fblog%2Fpub-dist%2Fdefault-logo.png)