開機後每隔 30~60 秒彈出對話框:
Winmgmt.exe has generated errors and will be closed by Windows.
You will need to restart the program. An error log is being created.
點擊「關閉」不久又再次彈出,嚴重干擾使用。
WMI(Windows Management Instrumentation)儲存庫文件損壞。儲存路徑:%SystemRoot%\System32\Wbem\Repository\。
Winmgmt.exe 服務以 30 秒間隔輪詢該目錄,發現損壞即報錯並嘗試重建,失敗則循環報錯。
C:\Windows\System32\Wbem\Repository\。Repository_Backup 資料夾(備份以防萬一)。HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\Autorecover MOFs 中列出的 .mof / .mfl 文件,自動編譯重建 Repository。wmidiag.vbs(微軟官方 WMI 診斷腳本)可完整檢測 WMI 健康度。mofcomp.exe 文件.mof)。Windows 2000 SP1/SP2、Windows XP、Windows Server 2003(同樣架構)。Vista 及以上版本 WMI 架構不同,建議使用 winmgmt /resetrepository 指令或 sfc /scannow。