解决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,如果还不能用,再等一会儿。

posted @ 2014-11-29 12:52  wenhx  阅读(3733)  评论(0编辑  收藏  举报