我已經在3台電腦上遇到這個問題了,癥狀是,所有市集安裝的App都無法開啟,包括市集本身,在開始介面點擊應用以後,應用的Logo一閃而過,然後就消失了,回到了開始介面。
查看系統應用日誌,會有這樣的提示(我用的英文版):
Activation of app Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo failed with error: This app does not support the contract specified or is not installed. See the Microsoft-Windows-TWinUI/Operational log for additional information.
按提示,開啟Microsoft-Windows-TWinUI/Operational,看到:
The description for Event ID 2095 from source Microsoft-Windows-Immersive-Shell cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo
2147745793
The message id for the desired message could not be found
花了2個小時在網上找了N多資料,最終在微軟官網上找到瞭解決辦法,下面把各種有用資訊合并並簡單翻譯一下。
首先,第一步,需要下載官方的問題修複工具,下載地址。下載以後運行一路點Next,運氣好就可以解決所有問題,運氣不好至少也能讓市集本身跑起來。
接著,如果你曾經改過應用相關檔案系統或者註冊表,要按照 這篇文章 來修複許可權問題。
下面這些許可權都是針對“All Application Packages”這個組的。
檔案系統許可權:
Program Files - Read, Read and Execute, List folder Contents
Windows - Read, Read and Execute, List folder Contents
UsersAppDataLocalMicrosoftWindowsWER - Special Permissions (List folder / read data, Create Folders /Append Data)
註冊表許可權(讀 Read):
HKEY_CLASSES_ROOT
HKEY_LOCAL_MACHINEDrivers
HKEY_LOCAL_MACHINEHARDWARE
HKEY_LOCAL_MACHINESAM
HKEY_LOCAL_MACHINESOFTWARE
HKEY_LOCAL_MACHINESYSTEM
HKEY_USERS
以上都還解決不了,那麼就要看 這篇文章 了。
它是這麼解決的:
A、手工修複市集無法開啟的問題。(應該在第一步下載的官方修複工具就能解決,市集已經可以開啟的跳過這一步。)
在命令列或者運行(Win + R)中輸入regedit.exe啟動註冊表編輯介面。
找到 HKEY_CURRENT_USERSoftwareClassesLocal Settingssoftwaremicrosoftwindowscurrentversionappmodelrepositorypackages.
右鍵點擊 “packages” 選擇 “許可權”(Permissions)。
點擊 “進階”(Advanced)。
檢查“所有者”(Owner)是不是 “SYSTEM”,如果不是,就改成"System",然後關掉所有視窗。
使用管理員權限啟動Powershell 執行:Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootWinStoreAppxManifest.xml
B、修複其他系統App
1.在剛才以管理員身份啟動的Powershell視窗中執行:((Get-ChildItem "HKLM:SOFTWAREMicrosoftWindowsCurrentVersionAppxAppxAllUserStoreInboxApplications") | Get-ItemProperty).Path | Add-AppxPackage -Register -DisableDevelopmentMode
C、修複其它第三方App
1.在Powershell視窗中執行:wmic useraccount get "name,sid",找到你的帳號所的那一行,記住SID那一列。
2.在註冊表找到並刪掉([UserSID]替換成第1步的那個): HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionAppxAppxAllUserStore[UserSID]
重新啟動電腦,重啟完以後開啟App,如果還不能用,再等一會兒。