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

Windows Installer 服務無法訪問/啟動?msiexec 重註冊 + sfc 修復三步解決

編輯:XP 系統應用技巧

故障現象

安裝程序報錯:不能訪問 Windows Installer 服務…請聯系支持人員 或 服務狀態為停止,不能啟動。

核心修復命令(按序執行)

msiexec /unregserver   註銷當前 Installer 服務
msiexec /regserver     重新註冊 Installer 服務

多數情況下即可恢復正常。

進階排查清單

  1. 權限檢查:確保以管理員身份運行安裝程序;
  2. 服務狀態:Win+R → services.msc → 檢查 Windows Installer 服務是否為「手動」且可啟動;
  3. 升級 Installer:下載安裝 WindowsInstaller-KB893803-v2-x86.exe (Windows Installer 3.1/4.5);
  4. 結束衝突進程:任務管理器結束 ikernel.exe (InstallShield 引擎殘留);
  5. 清理 InstallShield 殘留:刪除 C:\Program Files\Common Files\InstallShield\Engine 目錄;
  6. 系統文件修復:管理員 CMD 運行 sfc /scannow 修復損壞系統文件。

原理說明

Windows Installer 是 MSI 包的執行引擎,其註冊信息損壞或服務異常會導致所有 MSI 安裝失效。msiexec /regserver 重寫註冊表關鍵鍵值,sfc 替換損壞的 msi.dll 等核心文件,雙管齊下極大概率修復。

Copyright © Windows教程網 All Rights Reserved