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

Windows Installer 服務無法存取?完整修復指南:登錄修復、MSIEXEC 重註冊、手動重裝 INF

編輯:XP 系統應用技巧

現象與成因

安裝/移除程式時出現「無法存取 Windows Installer 服務」,服務管理員中服務呈現「停用」且無法啟動,甚至標記為刪除。常見原因:

  • 系統檔案損毀、登錄鍵值遺失/錯誤。
  • 第三方優化工具誤刪服務設定。
  • 惡意軟體破壞 MSI 服務。

通用快速修復(Windows XP / 2000 / 2003 / Vista / 7 / 10 / 11)

  1. 建立文字檔 installer_fix.reg,內容如下:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,56,00,00,00
; 解碼後為:%SystemRoot%\System32\msiexec.exe /V
  1. 雙擊匯入登錄(或右鍵 → 合併)。
  2. 以管理員身分執行 CMD,輸入:msiexec /regserver 按 Enter。
  3. 無需重開機,即可嘗試安裝 MSI 套件測試。

Windows 2000 專用:手動重裝 Installer 套件

  1. CMD 執行 msiexec /unregserver 先移除現有註冊。
  2. 下載 Windows 2000 版 Installer 套件 InstMsiW.exe(Microsoft 官網)。
  3. 用 WinRAR/7-Zip 解壓縮,進入解壓目錄。
  4. 右鍵 msi.inf → 安裝;右鍵 mspatcha.inf → 安裝。
  5. CMD 執行 msiexec /regserver 重新註冊服務。
  6. 重新開機。

⚠ 過程中勿重開機;若安裝瑞星防火牆,建議暫時關閉。

進階:檢查服務依賴與權限

  • 服務 MSIServer 依賴 RPCSS (Remote Procedure Call) 與 DcomLaunch,確認兩者均為「執行中」。
  • 登錄 HKLM\SYSTEM\CurrentControlSet\Services\MSIServer 權限:SYSTEM、Administrators 需具備完整控制權。

驗證修復成功

  1. CMD 執行 msiexec 無參數,應彈出 Windows Installer 版本/語法視窗。
  2. 下載任一 MSI 套件(如 7-Zip .msi)測試安裝。
  3. 服務管理員 services.msc 中 Windows Installer 狀態應為「手動」,啟動類型正常。

預防建議

  • 避免使用不明「系統優化」、「垃圾清理」工具清理登錄。
  • 定期執行 sfc /scannow 維護系統檔案完整性。
  • 保留系統還原點或映像備份,遇到問題可快速回滾。

結語

Windows Installer 服務異常多由登錄鍵值遺失引起,匯入正確 ImagePath 並執行 msiexec /regserver 即可 90% 以上情況秒修復。Win2000 需額外重裝 INF,步驟稍繁但同樣有效。

Copyright © Windows教程網 All Rights Reserved