码迷,mamicode.com
首页 > 移动开发 > 详细

All Metro Apps on Windows 8.1 Do Not Work

时间:2015-07-16 19:12:36      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:

所有的Metro Apps不能够正常打开,表现为打开后自动最小化到任务栏,并且不能恢复正常状态。在Event Viewer\Application中相应的错误信息为:

Activation of app winstore_cw5n1h2txyewy!Windows.Store 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.

  • 如果只是要打开PC Settings,以管理员权限运行命令行:
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml
  • 重新安装所有Metro应用,在PowerShell中执行命令(It performs a complete reinstall of the "metro" apps using the following command in PowerShell to fix the apps minimizing on start:)
Get-AppxPackage | % { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppxManifest.xml" -verbose }

What it does is this:  Get-AppxPackage gets a list of installed app packages (.appx) and Add-AppxPackage installs an app package. So the command kind of reinstalls metro applications, but with DevelopmentMode disabled. It shouldn‘t be harmful in a sense that it won‘t install anything new or remove existing apps.

 

参考资料:

  1. http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/all-metro-apps-on-windows-81-do-not-work/cf009f94-358d-4cd2-8bb0-5ae748e1acd8?page=3
  2. http://www.eightforums.com/tutorials/42001-pc-settings-fix-restore-windows-8-1-a.html

All Metro Apps on Windows 8.1 Do Not Work

标签:

原文地址:http://www.cnblogs.com/urwlcm/p/4651703.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!