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

「新增/移除程式」打不開?七個 DLL 重新註冊一鍵修復

編輯:XP 常見問題解答

控制台點「新增/移除程式」無反應、報錯、閃退?多為相關 DLL 註冊失效。七條命令逐一重新註冊,立即修復。

修復命令 (依序執行,每條確認彈出「成功」對話框)

  1. regsvr32 Appwiz.cpl (核心控制面板項目)
  2. regsvr32 Jscript.dll (JavaScript 引擎)
  3. regsvr32 Mshtml.dll (HTML 解析/渲染)
  4. regsvr32 Msi.dll (Windows Installer 核心)
  5. regsvr32 Mshtmled.dll (HTML 編輯元件)
  6. regsvr32 "C:\Program Files\Common Files\System\Ado\Msado15.dll" (ADO 資料存取)
  7. regsvr32 "C:\Program Files\Common Files\System\OleDB\Oledb32.dll" (OLE DB 核心)

批次檔一鍵執行 (存為 fix_appwiz.bat 以管理員執行)

@echo off
echo 正在修復「新增/移除程式」...
regsvr32 /s Appwiz.cpl
regsvr32 /s Jscript.dll
regsvr32 /s Mshtml.dll
regsvr32 /s Msi.dll
regsvr32 /s Mshtmled.dll
regsvr32 /s "C:\Program Files\Common Files\System\Ado\Msado15.dll"
regsvr32 /s "C:\Program Files\Common Files\System\OleDB\Oledb32.dll"
echo 修復完成,請重新開啟控制台驗證。
pause

/s 參數為靜默模式,不彈出確認對話框。

進階排查 (若上述無效)

  • sfc /scannow 修復系統檔案
  • 檢查 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall 機碼權限/損壞
  • 新建使用者帳號測試 → 正常則為使用者設定檔問題
  • 事件檢視器 → 應用程式日誌 → 來源 MsiInstaller/AppWiz 錯誤詳情
  • 修復安裝 / 系統還原

現代系統 (Win7/8/10/11) 對應修復

  • 設定 → 應用程式 → 應用程式與功能 (新介面,不依賴 Appwiz.cpl)
  • 若舊版控制台項目失效:
    Dism /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
  • PowerShell 重新註冊 AppX 套件:
    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

七條命令覆蓋 95% 「新增/移除程式」打不開案例,批次檔收藏備用,關鍵時刻一鍵搞定。

Copyright © Windows教程網 All Rights Reserved