Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7頻繁提示Winmgmt.exe錯誤修復:重建WMI存儲庫Repository文件夾

編輯:Windows 7 系統介紹

Win7運行過程彈出Winmgmt.exe錯誤,根因為WMI存儲库%SystemRoot%\System32\Wbem\Repository損壞。停止WMI服務、刪除Repository文件夾內容、重啟服務自動重建可徹底修復。

修復步驟

  1. 「計算機」右鍵 → 「管理」 → 「服務和應用程序」 → 「服務」
  2. 找到「Windows Management Instrumentation」 → 右鍵「停止」
  3. 資源管理器進入:C:\Windows\System32\Wbem\Repository → 刪除所有文件/子文件夾
  4. 返回服務管理器 → 右鍵「Windows Management Instrumentation」 → 「啟動」
  5. 服務啟動過程中將根據HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\Autorecover MOFs註冊表項自動重建Repository核心文件

驗證修復

  • 重啟電腦,不再彈出Winmgmt.exe錯誤
  • CMD執行winmgmt /verifyrepository應提示「WMI存儲庫一致」

成因與預防

  • 不當優化/清理工具誤刪WMI文件
  • 病毒/木馬破壞WMI存儲庫
  • 硬盤壞道導致文件損壞
  • 預防:優化工具排除C:\Windows\System32\Wbem目錄,定期備份系統狀態
Copyright © Windows教程網 All Rights Reserved