All Metro Apps on Windows 8.1 Do Not Work

所有的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

你可能感兴趣的:(windows)