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

Win7 徹底解除安裝 IE9/IE10/IE11:CMD 系統級移除指令

編輯:Win7 系統應用技巧

Windows 7 內建 IE8,升級安裝 IE9/10/11 後若想完全移除回歸 IE8(或完全移除 IE),控制台「程式和功能」中找不到解除安裝選項。需以管理員身分執行 CMD,使用 FORFILES 配合 pkgmgr 系統級移除對應版本套件。

解除安裝步驟

  1. 開始 → 所有程式 → 附屬應用程式 → 右鍵「命令提示字元」 → 「以系統管理員身分執行」。
  2. 命令提示字元
    以管理員身分執行
  3. 根據要移除的版本,複製對應指令到 CMD 執行(右鍵貼上):

解除安裝 IE9:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*9.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart"

解除安裝 IE10:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart"

解除安裝 IE11:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart"
執行解除安裝指令
  1. 等待指令執行完成(視電腦速度 1-5 分鐘),重新開機。
  2. 開機後系統將自動回歸 IE8(或無 IE,視原版本而定)。

原理說明

  • FORFILES 遍歷 %WINDIR%\servicing\Packages 找到對應 IE 版本的 .mum 更新套件資訊檔。
  • pkgmgr /up:@fname 針對該套件執行解除安裝,/quiet 靜默模式,/norestart 不自動重開機。
  • 此為系統元件層級移除,比「解除安裝更新」更徹底。

注意: 移除 IE 可能影響依賴 IE 核心元件的軟體(如某些銀行元件、舊版 ERP、Windows Update 早期版本)。建議保留 IE11(Win7 最高版本)以確保相容性。

Copyright © Windows教程網 All Rights Reserved