You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

彻底清除Microsoft 3D Viewer残留安装状态的技术求助

彻底清除Microsoft 3D Viewer残留安装状态的技术求助

我正尝试完全移除旧版本Microsoft 3D Viewer的所有痕迹,但遇到了棘手的问题:明明已经卸载并删除了能找到的所有相关文件和注册表项(甚至以SYSTEM权限运行regedit操作),但以下两个PowerShell命令仍显示它处于“已安装”状态:

Get-AppXPackage -All Microsoft.Microsoft3DViewer
Get-WmiObject -Query "Select * from Win32_InstalledStoreProgram where Name='Microsoft.Microsoft3DViewer'"

更麻烦的是,执行卸载命令还失败了,错误代码是80070057。我已经删除了HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore下所有提及它的键,也试过从备份恢复C:\ProgramData\Microsoft\Windows\AppRepository里的清单文件,但都没效果。

下面是相关命令的输出详情:

Get-AppXPackage命令输出(以SYSTEM用户运行)

PS C:\WINDOWS\system32> Get-AppXPackage -All Microsoft.Microsoft3DViewer

Name                   : Microsoft.Microsoft3DViewer
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture           : X64
ResourceId             :
Version                : 7.2107.7012.0
PackageFullName        : Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe
InstallLocation        :
IsFramework            : False
PackageFamilyName      : Microsoft.Microsoft3DViewer_8wekyb3d8bbwe
PublisherId            : 8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Installed}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           :
IsPartiallyStaged      : False
SignatureKind          :
Status                 : Ok

Get-WmiObject命令输出(以SYSTEM用户运行)

PS C:\WINDOWS\system32> Get-WmiObject -Query "Select * from Win32_InstalledStoreProgram where Name='Microsoft.Microsoft3DViewer'"

__GENUS          : 2
__CLASS          : Win32_InstalledStoreProgram
__SUPERCLASS     :
__DYNASTY        : Win32_InstalledStoreProgram
__RELPATH        : Win32_InstalledStoreProgram.ProgramId="Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe"
__PROPERTY_COUNT : 6
__DERIVATION     : {}
__NAMESPACE      : root\cimv2
__PATH           : \\COMPUTER\root\cimv2:Win32_InstalledStoreProgram.ProgramId="Microsoft.Microsoft3DViewer_7.2107.7012.0
_x64__8wekyb3d8bbwe"
Architecture     : X64
Language         : 1033
Name             : Microsoft.Microsoft3DViewer
ProgramId        : Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe
Vendor           : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Version          : 7.2107.7012.0

失败的Remove-AppxPackage命令及日志

PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-AppxPackage Microsoft.Microsoft3DViewer |Remove-AppxPackage
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
Unspecified error
NOTE: For additional information, look for [ActivityId] bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901 in the Event Log or use
the command line Get-AppPackageLog -ActivityID bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901
At line:1 char:46
+ Get-AppxPackage Microsoft.Microsoft3DViewer |Remove-AppxPackage
+                                              ~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : WriteError: (Microsoft.Micro...__8wekyb3d8bbwe:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

部署日志详情

PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-AppPackageLog -ActivityID bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901

Time                      ID           Message
----                      --           -------
28/09/2023 13:14:02       603          Started deployment DeStage operation on a package with main parameter
Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe and Options 0 and
0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues.
28/09/2023 13:14:02       10002        Creating Resiliency File C:\ProgramData\Microsoft\Windows\AppRepository\a6b75659
-88fb-4d44-9214-bd69c467649a_S-1-5-18_9.rslc for Remove Operation on Package
Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe.
28/09/2023 13:14:02       607          Deployment Remove operation on package
Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe has been de-queued
and is running for user SID S-1-5-18.
28/09/2023 13:14:02       216          App manifest validation warning: Declared namespace
http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will
be ignored during manifest processing.
28/09/2023 13:14:02       216          App manifest validation warning: Declared namespace
http://schemas.microsoft.com/developer/appx/2015/build is inapplicable, it will
be ignored during manifest processing.
28/09/2023 13:14:02       855          Finished resolving action lists. DeploymentRequest action lists:
removePackageList: Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe
Microsoft.Microsoft3DViewer_2021.2107.7012.0_neutral_~_8wekyb3d8bbwe.
28/09/2023 13:14:02       605          The last successful state reached was MachineRegisterRemove. Failure occurred
before reaching the next state De-Indexed. hr: 0x80070057
28/09/2023 13:14:02       401          Deployment DeStage operation with target volume C: on Package
Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe from:
(Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe)  failed with
error 0x80070057. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
28/09/2023 13:14:02       404          AppX Deployment operation failed for package
Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbwe with error
0x80073CFA. The specific error text for this failure is: Unspecified error

我想知道这些残留的安装状态到底存在哪里,这样我才能彻底清理掉?

备注:内容来源于stack exchange,提问作者Rup

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 12:14:30