某些 Microsoft 应用程序无法升级、卸载或启动

某些 Microsoft 应用程序无法升级、卸载或启动

Windows 10 桌面版 10586.420,请观看我的屏幕记录https://youtu.be/tZrGTll9muY

这 7 个 Microsoft 应用程序永远卡在我的商店更新列表中,它们最后都出现了完全相同的错误代码 0x80073CF6。其余应用程序完全没有问题。

更糟糕的是,我无法卸载它们。而且它们在启动时全部崩溃。

我甚至尝试使用 PowerShell 卸载其中一些游戏(例如纸牌),结果

PS C:\WINDOWS\system32> Get-AppxPackage *solitairecollection* | Remove-AppxPackage
 Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. (Exception from  HRESULT: 0x80073CF6)
 NOTE: For additional information, look for [ActivityId] b55e1ee7-c8e3-0000-606b-64b5e3c8d101 in the Event Log or use the command line Get-AppxLog -ActivityID b55e1ee7-c8e3-0000-606b-64b5e3c8d101
 At line:1 char:41
 + Get-AppxPackage *solitairecollection* | Remove-AppxPackage
 + ~~~~~~~~~~~~~~~~~~
 + CategoryInfo : WriteError: (Microsoft.Micro...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
 + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

我还按照 PowerShell 输出的指示运行了另一个命令

PS C:\WINDOWS\system32> Get-AppxLog -ActivityID b55e1ee7-c8e3-0000-606b-64b5e3c8d101

Time                      ID           Message
----                      --           -------
2016-06-22 8:17:00 PM     301          The calling process is powershell.exe
2016-06-22 8:17:00 PM     603          Started deployment Remove operation on a package with main parameter:
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe and
                                       Options: 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
                                       diagnosing app deployment issues.
2016-06-22 8:17:00 PM     10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\cc4af31a
                                       -76fe-4a7c-b09c-5ecd7d57b176_S-1-5-21-3042240410-3763251108-3400705136-1001_1.rs
                                       lc for Remove Operation on Package
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe.
2016-06-22 8:17:00 PM     607          Deployment Remove operation on package
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe has been
                                       de-queued and is running for user MYWIN10\hardy.
2016-06-22 8:17:00 PM     10000        About to service package
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe. Setting
                                       the package state to disabled returned with 0x0.
2016-06-22 8:17:00 PM     317          C:\Program Files\WindowsApps\Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x
                                       64__8wekyb3d8bbwe\AppxManifest.xml(45,16): warning: The
                                       'windows.publisherCacheFolders' extension category in the
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe package is
                                       unrecognized.
2016-06-22 8:17:00 PM     475          error 0x80070002: Reading manifest from location: C:\ProgramData\Microsoft\Windo
                                       ws\AppRepository\Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_neutral_split
                                       .language-zh-hans_8wekyb3d8bbwe.xml failed with error: The system cannot find
                                       the file specified.
                                       .
2016-06-22 8:17:00 PM     402          error 0x80070003: Reading manifest from location: AppxManifest.xml failed with
                                       error: The system cannot find the path specified.
                                       .
2016-06-22 8:17:00 PM     322          error 0x80070003: Cannot register the Microsoft.MicrosoftSolitaireCollection_3.9
                                       .5100.0_neutral_split.language-zh-hans_8wekyb3d8bbwe package because the
                                       following error was encountered while trying to read the package: The system
                                       cannot find the path specified.
                                       .
2016-06-22 8:17:00 PM     300          error 0x80070003: Cannot register the
                                       Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe package due to the
                                       following error: The system cannot find the path specified.
                                       .
2016-06-22 8:17:00 PM     605          The last successful state reached was ResolvedDeferredRegistrations. Failure
                                       occurred before reaching the next state RegistrationChanged.
2016-06-22 8:17:00 PM     10001        Finished servicing package
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe. Setting
                                       the package state to enabled returned with 0x0.
2016-06-22 8:17:01 PM     401          Deployment Remove operation with target volume C: on Package
                                       Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe from:
                                       (Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe)  failed
                                       with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for
                                       help diagnosing app deployment issues.
2016-06-22 8:17:02 PM     471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\2FE3CB00.PicsA
                                       rt-PhotoStudio_3.1.0.0_x86__crhqpqs3x1ygc8963b64d-44f3-4302-9dd4-743144b7e144\Cl
                                       rCompression.dll failed.
2016-06-22 8:17:02 PM     471          error 0x91: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\2FE3CB00.Pics
                                       Art-PhotoStudio_3.1.0.0_x86__crhqpqs3x1ygc8963b64d-44f3-4302-9dd4-743144b7e144
                                       failed.
2016-06-22 8:17:02 PM     471          error 0x5: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\2FE3CB00.PicsA
                                       rt-PhotoStudio_3.1.1.0_x86__crhqpqs3x1ygcd826c1bf-b5d6-422b-ae89-f2729efaa392\Cl
                                       rCompression.dll failed.
2016-06-22 8:17:02 PM     471          error 0x91: Deleting file \\?\C:\Program Files\WindowsApps\Deleted\2FE3CB00.Pics
                                       Art-PhotoStudio_3.1.1.0_x86__crhqpqs3x1ygcd826c1bf-b5d6-422b-ae89-f2729efaa392
                                       failed.

对于每个失败的应用程序,无论是来自商店应用程序还是 PowerShell,我都可以在事件日志中找到 2 条记录

第一个是错误

Faulting application name: Solitaire.exe, version: 1.0.0.0, time stamp: 0x573236e5
Faulting module name: KERNELBASE.dll, version: 10.0.10586.306, time stamp: 0x571af331
Exception code: 0x00000004
Fault offset: 0x0000000000071f28
Faulting process ID: 0x3b8
Faulting application start time: 0x01d1cce2da0a558a
Faulting application path: C:\Program Files\WindowsApps\Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe\Solitaire.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report ID: def6699b-1d13-4e7e-9190-89566b87e8c0
Faulting package full name: Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

第二个是信息

Fault bucket 133330737785, type 5
Event Name: MoAppCrash
Response: Not available
Cab Id: 0

Problem signature:
P1: Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 1.0.0.0
P4: 573236e5
P5: KERNELBASE.dll
P6: 10.0.10586.306
P7: 571af331
P8: 00000004
P9: 0000000000071f28
P10: 

Attached files:
C:\Users\hardy\AppData\Local\Temp\WER4C46.tmp.WERInternalMetadata.xml

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Microsoft.Micros_d543b85a9693e6ac9dbdf15b55c52c22886f6c5b_234082d4_2315505d

Analysis symbol: 
Rechecking for solution: 0
Report ID: def6699b-1d13-4e7e-9190-89566b87e8c0
Report Status: 0
Hashed bucket: 4feeccd86199c8500aed4cec7ded0645

知道我能做什么吗?

答案1

乍一看,我以为你没有使用管理员账户运行卸载程序,但事实证明微软阻止了你。如果你关注链接,指出您必须在 Windows 计算机上使用 Microsoft 帐户才能从 MS Store 安装。如果您已经在使用帐户,那么您可能还需要在控制面板中的“安全和维护”选项卡下验证您的 MS 帐户。

如果您使用的是本地帐户而不是 MS 帐户(我毫不犹豫地推荐),那么我建议您在 PC 上创建一个新帐户并赋予其管理权限。完成所需软件的安装/卸载后,删除管理权限并禁用该帐户。在我看来,这样的帐户是安全漏洞。

编辑:他们可能进行了更新,以便密码存储使用加盐哈希,这只能缓解我使用实时帐户时遇到的一些问题。我现在正在尝试进行密码恢复,以测试您是否仍可以使用 PC 和实时帐户的访问权限。给我几天时间,我的 Windows 10 VM 出于某种原因不喜欢添加新用户的想法。

答案2

我终于知道该如何解决这个问题了。如果我使用 GUI(商店应用),就不会有太多有用的信息。但从行为来看,很明显商店应用会尝试下载较新版本的应用,卸载当前版本,然后应用下载的版本作为最后一步。但不幸的是,它无法卸载当前版本。

但是当我使用Get-AppxPackage *solitairecollection* | Remove-AppxPackage我粘贴在原始问题中的 PowerShell 命令时,我得到了错误(该消息也显示在我原始问题中)。错误消息同时提供了另一个命令来加载更多信息。我按照它来检索一份冗长的报告。结果也在我的原始问题中,按照列表,遇到的第一个错误是

错误 0x80070002:从位置读取清单:C:\ProgramData\Microsoft\Windows\AppRepository\Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_neutral_split.language-zh-hans_8wekyb3d8bbwe.xml 失败,错误原因:系统找不到

我导航到C:\ProgramData\Microsoft\Windows\AppRepository\目录,确实没有该文件。但我看到了Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_neutral_split.scale-100_8wekyb3d8bbwe.xml。我复制了此文件并将其命名为,Microsoft.MicrosoftSolitaireCollection_3.9.5100.0_neutral_split.language-zh-hans_8wekyb3d8bbwe.xml然后重新运行相同的卸载命令,它已成功卸载!

看起来 Windows 10 突然以某种方式弄乱了应用程序的语言,我猜系统正在寻找另一种语言版本的应用程序来卸载。

相关内容