标签:
所有的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.
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml
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.
参考资料:
All Metro Apps on Windows 8.1 Do Not Work
标签:
原文地址:http://www.cnblogs.com/urwlcm/p/4651703.html