2023-05-10

windwos 10 重新安裝 InternetExplorer

由於 IE 因不明原因消失,以下為重新安裝的步驟

圖1.

控制台->所有控制項目->程式與功能->開啟或關閉Windwos功能->將"Internet Explorer 11"選項打勾

就會自動安裝,若無此項目可勾選,請參考圖2


圖2.

 

設定->應用程式與功能->選用功能->新增功能->勾選"Internet Explorer 11" 後按 "開始安裝"->安裝完成後重開機後再執行圖1步驟.

若發生 圖2 安裝失敗 並顯示 "請聯繫您的系統管理員以取得這項功能" 的話,請執行下面步驟

左下角開始->右鍵-> PowerShell (系統管理員)

dism /online /get-capabilities | Where-Object { $_ -like "*InternetExplorer*" }

↑搜尋選用功能名稱為*InternetExplorer*

得到選用功能名稱 "Browser.InternetExplorer~~~~0.0.11.0"

 

dism /online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0

下載並安裝選用功能

 

安裝時若出現錯誤0x800f0954(需聯繫裝置管理員以取得這項功能)

Add-WindowsCapability failed. Error code = 0x800f0954

須執行下面步驟

 

圖3.


 

開始+R 執行 gpedit.msc (開啟"編輯群組原則")

Computer Configuration -> Administrative Templates -> System
本機電腦原則->電腦設定->系統管理範本->系統

Specify settings for optional component installation and component repair
指定選用之元件安裝和元件修復的相關設定

Enabled
選擇"已啟用"

Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)
選擇"直接從windows Update 下載修復內容與選用功能,而不是從 Windows Server Update Services (WSUS) 下載"


gpupdate /force
更新系統群組原則設定


dism /online /Add-Capability /CapabilityName:Browser.InternetExplorer~~~~0.0.11.0
重新安裝選用功能


安裝完成後重開機
再次至控制台->程式與功能->開啟或關閉windwos功能->將 "Internet Explorer 11" 打勾後確認即可安裝



以上完成

資料參考:
https://thesysadminchannel.com/solved-add-windowscapability-failed-error-code-0x800f0954-rsat-fix/
https://learn.microsoft.com/zh-tw/troubleshoot/developer/browsers/installation/disable-internet-explorer-windows

沒有留言:

張貼留言