我刚刚安装了 Windows 10 最终版本,并注意到包括 Store、Photos 和 Groove Music 在内的一些应用程序无法运行。
在互联网上挖掘后,我尝试使用以下命令行解决问题:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Run Code Online (Sandbox Code Playgroud)
然而,它看起来更糟,现在它在不工作的应用程序上显示此错误:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
Merge Failure : error 0x80070003 : Cannot register the Microsoft.Windows.Photos_15.721.12350.0_x64__8wekyb3d8bbwe
package because there was a merge failure with the following file: C:\Program
Files\WindowsApps\Microsoft.Windows.Photos_15.721.12350.0_neutral_split.language-ru_8wekyb3d8bbwe\resources.pri
NOTE: For additional information, look for [ActivityId] a158907a-ceee-0007-8cba-58a1eeced001 in the Event Log or use
the command line Get-AppxLog -ActivityID a158907a-ceee-0007-8cba-58a1eeced001
At line:1 char:38
+ ... | …Run Code Online (Sandbox Code Playgroud)