您好 We Huang,
感謝您在 Microsoft Q&A 社群發文詢問。
若要有效調整輪詢間隔(Polling Interval),並成功強制對已離線數週、時間嚴重漂移的裝置進行時間同步,您必須從固定的 SpecialPollInterval 機制切換為動態的 MinPollInterval/MaxPollInterval 機制。
由於這些裝置的時間已漂移數分鐘,Windows Time 服務可能會進入保護性的 「Spike」狀態。如果時間服務被設定為使用 SpecialPollInterval(透過 0x1 旗標設定),則在此狀態下它會拒絕校正時間。
Microsoft 官方參考資料
- Time service does not correct the time - Windows Server | Microsoft Learn
- W32time settings fail when starting Windows Time Service - Windows Server | Microsoft Learn
解決方案說明
若要解決此問題,您需要將 NTP 伺服器設定為使用 0x8 旗標(僅 Client Mode)。這會移除 SpecialPollInterval 旗標,並強制系統改用自適應的 MinPollInterval,確保裝置一旦偵測到網際網路連線後,便能積極執行時間同步。
您可以透過以下任一方式套用此調整:
方法 1:透過 CMD(適用於單一裝置)
在受影響的裝置上,以系統管理員身分開啟命令提示字元(Run as Administrator),然後執行下列命令:
- w32tm /config /update /manualpeerlist:"time.windows.com,0x8" /syncfromflags:MANUAL
- net stop w32time
- net start w32time
- w32tm /resync /rediscover
注意:請將 "time.windows.com" 替換為您組織實際使用的 NTP 伺服器位址。
方法 2:透過群組原則(Group Policy,適用於已加入網域的裝置)
如果您是集中管理這些裝置,請更新 Windows Time 的 GPO 設定:
依序前往:
Computer Configuration > Administrative Templates > System > Windows Time Service > Time Providers
開啟 Configure Windows NTP Client 原則。
更新 NtpServer 值,並確保其結尾為 ,0x8(例如:time.windows.com,0x8)。
將 GPO 套用至受影響的電腦。
===========
如果此回覆有助於解決您的問題,歡迎點選 「Accept Answer(接受答案)」,讓其他遇到相同問題的使用者也能更容易找到解決方案!
Hello We Huang,
Thank you for posting in the Microsoft Q&A community.
To effectively adjust the Polling Interval and successfully enforce time synchronization for devices experiencing significant time drift (offline for weeks), you must switch from a fixed SpecialPollInterval to the dynamic MinPollInterval/MaxPollInterval mechanism.
Because the devices have drifted by several minutes, the Windows Time service might enter a protective "Spike" state. If the time service is configured to use a SpecialPollInterval (configured via the 0x1 flag), it will refuse to correct the time while in this state.
Official Microsoft Reference:
- Time service does not correct the time - Windows Server | Microsoft Learn
- W32time settings fail when starting Windows Time Service - Windows Server | Microsoft Learn
Resolution Instructions:
To resolve this, you need to configure the NTP Server to use the 0x8 flag (Client Mode only). This removes the SpecialPollInterval flag and forces the system to use the adaptive MinPollInterval, ensuring aggressive synchronization as soon as the internet connection is detected.
You can apply this adjustment using either of the following methods:
Method 1: Via CMD (For individual devices)
Run the following commands from an elevated Command Prompt (Run as Administrator) on the affected devices:
- w32tm /config /update /manualpeerlist:"time.windows.com,0x8" /syncfromflags:MANUAL
- net stop w32time
- net start w32time
- w32tm /resync /rediscover
(Note: Replace "time.windows.com" with your organization's actual NTP server address).
Method 2: Via Group Policy (For Domain-joined devices)
If you manage these devices centrally, update your Windows Time GPO:
Navigate to: Computer Configuration > Administrative Templates > System > Windows Time Service > Time Providers
Open the Configure Windows NTP Client policy.
Update the NtpServer value to ensure it ends with ,0x8 (Example: time.windows.com,0x8).
Apply the GPO to the affected machines.
===========
If this helps address your problem, please consider hitting "Accept Answer" so other users facing this failure can easily find the solution!