Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

如何解除安裝 IE9/IE10/IE11 瀏覽器:微軟官方命令列指令教學

編輯:關於 Windows

Internet Explorer 瀏覽器若因核心損壞導致崩潰、無法開啟,可先解除安裝再重新安裝修復。微軟官方提供 DISM 命令列指令移除特定版本 IE。需以系統管理員身分執行命令提示字元。以下為各版本解除安裝指令。

前置準備

  1. 以系統管理員身分登入 Windows。
  2. 以系統管理員身分開啟命令提示字元:
    Win 7:開始 → 搜尋 cmd → 右鍵「以系統管理員身分執行」。
    Win 8.1/10:Win+X → 「命令提示字元 (系統管理員)」或「Windows PowerShell (系統管理員)」。

解除安裝指令 (複製貼上整行執行)

解除安裝 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"

解除安裝 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"

解除安裝 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"

執行後續步驟

  1. 指令執行完成後,必須重新開機 使變更生效。
  2. 重開機後,IE 版本將回退至系統預設版本 (Win 7 → IE8, Win 8 → IE10, Win 8.1 → IE11 但可再次解除安裝回退)。
  3. 若需重新安裝較新版 IE,可透過 Windows Update 或下載獨立安裝包安裝。

注意事項

  • 解除安裝 IE 可能影響相依 IE 元件的應用程式 (如舊版 ERP、銀行外掛),請評估相容性後再操作。
  • Windows 10 預設為 Edge 瀏覽器,IE11 為相容性元件,解除安裝後無法透過 Windows Update 重新取得,需下載獨立安裝包。
  • 若指令執行報錯,嘗試先執行 sfc /scannow 修復系統檔案,或使用 DISM 修復映像:DISM /Online /Cleanup-Image /RestoreHealth。

善用官方指令乾淨移除 IE,避免手動刪除檔案導致系統不穩。

Copyright © Windows教程網 All Rights Reserved