Windows 7 计算机无法同步时间

Windows 7 计算机无法同步时间

我按照此处的说明将我的 Windows Server 2008 机箱配置为权威时间服务器: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)

我怎样才能解决这个问题?

答案1

请记住,组策略可能会覆盖您的本地注册表设置。

w32tm /query /configuration 在 2008 中查找,我找不到 2003 的等效项。

答案2

在您的服务器上,您究竟是如何输入对等服务器的(引用的 Microsoft KB 文章中的步骤 4c)?如果您只是输入单词同侪正如 KB 中所述,这肯定不行。条目应该是这样的:us.pool.ntp.org,0x1 time.windows.com,0x1 some.other.time.server,0x1

您可以使用命令“net time /querysntp”验证这些设置

如果服务器无法从上游对等点获取可用的时间戳,它将不会向您的客户端宣传自己是权威的,并且客户端可能无法与其同步。我发现 time.windows.com 经常无法向我的服务器提供可用的时间戳;因此我不使用它。

相关内容