免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3103 | 回复: 0
打印 上一主题 下一主题

[Windows 8] 解决Windows 8.1中所有的应用(Modern App)无法打开(闪退)的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-05-22 17:16 |只看该作者 |倒序浏览
我已经在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,看到:
  1. 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.

  2. If the event originated on another computer, the display information had to be saved with the event.

  3. The following information was included with the event:

  4. Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo
  5. 2147745793

  6. The message id for the desired message could not be found
复制代码


花了2个小时在网上找了N多资料,最终在微软官网上找到了解决办法,下面把各种有用信息合并并简单翻译一下。

首先,第一步,需要下载官方的问题修复工具,(http://go.microsoft.com/fwlink/p/?LinkId=271185)。下载以后运行一路点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、手工修复应用商店无法打开的问题。(应该在第一步下载的官方修复工具就能解决,应用商店已经可以打开的跳过这一步。)

在命令行或者运行(Win + R)中输入regedit.exe启动注册表编辑界面。
找到 HKEY_CURRENT_USER\Software\Classes\Local Settings\software\microsoft\windows\currentversion\appmodel\repository\packages.
右键点击 “packages” 选择 “权限”(Permissions)。
点击 “高级”(Advanced)。
检查“所有者”(Owner)是不是 “SYSTEM”,如果不是,就改成"System",然后关掉所有窗口。
使用管理员权限启动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,如果还不能用,再等一会儿。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP