
問題:
- DC1 時計: 17:23
- AD 参加クライアント クロック: 17:28
時間が同期された後client> w32tm /resync
、クライアントの時計は再び 5 分進みます。これは常に 1 分以内に発生します。
わかりました。おそらくどこか別の場所から同期しているのでしょう。ピア リストをドメイン コントローラーに手動で設定しました。
client>w32tm /config /manualpeerlist:"DC1 DC2 DC3" /syncfromflags:manual
The command completed successfully.
client>w32tm /resync
Sending resync command to local computer
The command completed successfully.
結果はどうでしょうか? 動作は同じなので役に立ちません。DC とクライアントは異なるサブネットにありますが、通信できることに注意してください。
状況をさらに解決するには何を確認すればよいでしょうか?
要求された情報の投稿:
client> w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 4294967295 (Local)
MaxPosPhaseCorrection: 4294967295 (Local)
MaxAllowedPhaseOffset: 300 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 30000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
CrossSiteSyncFlags: 2 (Policy)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Policy)
ResolvePeerBackoffMaxTimes: 7 (Policy)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 0 (Policy)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (Policy)
Type: NT5DS (Policy)
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)
client> get-date -format "yyyy.MM.dd hh:mm:ss"
2013.05.27 10:53:12 (Time WRONG)
client> w32tm /resync
Sending resync command to local computer
The command completed successfully.
client> get-date -format "yyyy.MM.dd hh:mm:ss"
2013.05.27 10:48:03 (Time OK)
client> w32tm /query /status
Leap Indicator: 3(last minute has 61 seconds)
Stratum: 0 (unspecified)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0804749s
Root Dispersion: 7.8843410s
ReferenceId: 0x00000000 (unspecified)
Last Successful Sync Time: 2013.05.27. 10:53:17
Source: DC1
Poll Interval: 10 (1024s)
client> get-date -format "yyyy.MM.dd hh:mm:ss"
2013.05.27 10:53:44 (Time WRONG)
client> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 4 (secondary reference - syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0804749s
Root Dispersion: 7.8845136s
ReferenceId: 0x0A0A0109 (source IP: 10.10.1.9)
Last Successful Sync Time: 2013.05.27. 10:48:17
Source: DC1
Poll Interval: 10 (1024s)
答え1
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
フォレスト ルート PDCe を除いて、Active Directory 環境では手動でピアを設定する必要はありません。ドメイン メンバーで上記のように w32tm サービスを再登録すると、NT5DS または "domhier" 設定を使用するようにリセットされます。これが正しい設定です。
その後、クライアントが時間同期に適した DC を自然に見つけるまで数分間待ちます。w32tm /query /peers
ドメイン コントローラーを使用して同期していることを確認できます。