我使用这里的说明将我的Windows Server 2008框configuration为授权时间服务器: http : //support.microsoft.com/kb/816042
端口123在服务器上的传入和传出连接中打开。
但是,域上的其他计算机(都运行Windows 7)将不会与其同步。
我从各种w32tm命令(在Windows 7机器上运行)获得以下输出:
C:\Windows\system33>w32tm /config /syncfromflags:domhier /update The command completed successfully. C:\Windows\system32>net stop w32time The Windows Time service is stopping. The Windows Time service was stopped successfully. C:\Windows\system32>net start w32time The Windows Time service is starting. The Windows Time service was started successfully. C:\Windows\system32>w32tm /query /source Local CMOS Clock C:\Windows\system32>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 (Local) AllowNonstandardModeCombinations: 1 (Local) ResolvePeerBackoffMinutes: 15 (Local) ResolvePeerBackoffMaxTimes: 7 (Local) CompatibilityFlags: 2147483648 (Local) EventLogFlags: 1 (Local) LargeSampleSkew: 3 (Local) SpecialPollInterval: 3600 (Local) Type: NT5DS (Local) 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) C:\Windows\system32>w32tm /resync /rediscover Sending resync command to local computer The computer did not resync because no time data was available.
我的事件日志中也出现以下错误:
NtpClient was unable to set a domain peer to use as a time source because of discovery error. NtpClient will try again in 3473457 minutes and double the reattempt interval thereafter. The error was: The entry is not found. (0x800706E1)
我怎样才能解决这个问题?
请记住,组策略可能会覆盖您的本地registry设置。
在2008年的w32tm / query / configuration中找出,2003年我找不到相当的。
在您的服务器上,您是如何进入对等服务器的(请参阅Microsoft知识库文章中的步骤4c)? 如果你只是在知识库中所说的同伴这个词,那肯定不会。 该条目应该是这样的: us.pool.ntp.org,0x1 time.windows.com,0x1 some.other.time.server,0x1
您可以使用命令'net time / querysntp'来validation这些设置
如果服务器无法获得来自上游对等体的可用时间戳,则它不会将自己宣告为授权给客户端,并且客户端可能不会与其同步。 我发现time.windows.com经常无法为我的服务器提供可用的时间戳。 所以我不使用它。