解決Windows 8.1中所有的應用(Modern App)無法打開(閃退)的問題


我已經在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
  • Users\<userName>\AppData\Local\Microsoft\Windows\WER - Special Permissions (List folder / read data, Create Folders /Append Data)

注冊表權限(讀 Read):

  • HKEY_CLASSES_ROOT
  • HKEY_LOCAL_MACHINE\Drivers
  • HKEY_LOCAL_MACHINE\HARDWARE
  • HKEY_LOCAL_MACHINE\SAM
  • HKEY_LOCAL_MACHINE\SOFTWARE
  • HKEY_LOCAL_MACHINE\SYSTEM
  • HKEY_USERS

以上都還解決不了,那么就要看 這篇文章 了。

它是這么解決的:

A、手工修復應用商店無法打開的問題。(應該在第一步下載的官方修復工具就能解決,應用商店已經可以打開的跳過這一步。)

  1. 在命令行或者運行(Win + R)中輸入regedit.exe啟動注冊表編輯界面。
  2. 找到 HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages.
  3. 右鍵點擊 “packages” 選擇 “權限”(Permissions)。
  4. 點擊 “高級”(Advanced)。
  5. 檢查“所有者”(Owner)是不是 “SYSTEM”,如果不是,就改成"System",然后關掉所有窗口。
  6. 使用管理員權限啟動Powershell 執行:Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\WinStore\AppxManifest.xml

B、修復其他系統App

    1.在剛才以管理員身份啟動的Powershell窗口中執行:((Get-ChildItem "HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications") | Get-ItemProperty).Path | Add-AppxPackage -Register -DisableDevelopmentMode

C、修復其它第三方App

      1.在Powershell窗口中執行:wmic useraccount get "name,sid",找到你的賬號所的那一行,記住SID那一列。
      2.在注冊表找到並刪掉([UserSID]替換成第1步的那個): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\[UserSID]

重新啟動電腦,重啟完以后打開App,如果還不能用,再等一會兒。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM