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

Windows 8 移除 IE 9/10/11 系統內建瀏覽器:DISM 指令列離線移除法

編輯:Windows 8 系統介紹

Windows 8 內建 IE 無法透過「程式和功能」正常解除安裝,需以管理員權限執行 DISM 指令從元件存儲移除對應套件。警告:移除 IE 可能導致相依桌面程式、Windows Update、說明系統異常,僅建議測試環境使用。

移除指令(管理員 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"

原理說明

FORFILES 遍歷 %WINDIR%\servicing\Packages 尋找對應版本 IE 的 .mum 清單檔,呼叫 pkgmgr (套件管理器) 執行解除安裝。/quiet /norestart 靜默執行不重開機,腳本結束後統一重開機生效。

建議

IE11 已支援現代網頁標準、效能優異、安全性高,且為系統元件相依基礎。若單純偏好 Chrome/Firefox,建議保留 IE11 並設為非預設瀏覽器,僅在相容性測試、企業舊系統維護時使用。

Copyright © Windows教程網 All Rights Reserved