Windows

了解windows時間配置

  • July 12, 2019

我希望為多個域中的所有 Vms 和 HyperV 設置外部時間源。大多數係統是windows Server 2012 R2或Server 2016。我已經閱讀了很多解釋,我不知何故想出瞭如何去做。我的問題是證明我的配置。下面是來自非直流系統的配置輸出。

[PS] 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) 

因此,當我看到“NT5DS(本地)”時,我知道該系統正在佔用 DC 的時間,但這對我來說還不夠。因此,我希望在這裡了解幾乎所有可能選項的行,以便了解我所做設置的背景和影響。不幸的是,我找不到任何解釋的文件。任何人都可以解釋或提供此類解釋的連結嗎?

它顯示(本地),因為它是本地配置的結果。如果它是在組策略中配置的,它將顯示(策略)。如果您指定了 /verbose 標誌,對於未配置的設置,它將顯示(未定義或未使用)。

引用自:https://serverfault.com/questions/974969