win10系統(tǒng)中的應(yīng)用商店被刪除后如何重新安裝
由于系統(tǒng)精簡(jiǎn)或者其它的原因,我們操作系統(tǒng)中的應(yīng)用商店可能會(huì)被刪除。但是,有些時(shí)候我們可能需要用到的某些應(yīng)用程序只能在應(yīng)用商店中才能下載安裝,這就恢復(fù)操作系統(tǒng)中被刪除的應(yīng)用商店。這篇文章我們就來介紹一下Windows10操作系統(tǒng)中應(yīng)用商店被刪除后如何重新安裝。
重新安裝Windows10操作系統(tǒng)中被刪除的應(yīng)用商店,可以通過執(zhí)行下面操作:
1、在任務(wù)欄搜索框中輸入“Windows PowerShell”。
2、然后在最佳匹配結(jié)果右側(cè),選擇“以管理員身份運(yùn)行”,以管理員身份打開Windows PowerShell。
3、在PowerShell中執(zhí)行以下命令,獲取“InstallLocation”:
Get-AppxPackage -AllUsers | findstr "WindowsStore"
獲取到的InstallLocation為“C:\Program Files\WindowsApps\Microsoft.WindowsStore_22406.1401.7.0_x64__8wekyb3d8bbwe”。
4、在PowerShell中執(zhí)行以下命令,安裝應(yīng)用商店:
Add-AppxPackage -register "InstallLocation\appxmanifest.xml" -disabledevelopmentmode
注意:InstallLocation需要替換成步驟3中獲取到的真實(shí)路徑。
所以我們這里實(shí)際需要執(zhí)行的命令是“Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_22406.1401.7.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -disabledevelopmentmode”
5、安裝完成以后,可以在任務(wù)欄搜索框中輸入“Microsoft Store”,然后按“Enter”鍵打開應(yīng)用商店。
通過以上步驟,我們實(shí)現(xiàn)了重新安裝Windows10操作系統(tǒng)中被刪除的應(yīng)用商店。希望能夠給大家提供到幫助。