Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9637

Cleaning up Windows store app install state

$
0
0

I'm trying to remove all traces of an old version of Microsoft 3D Viewer. These PowerShell commands say it's installed

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

but it's not: I've uninstalled it and deleted all the files and registry keys I can find (even running regedit as SYSTEM). Where is this state stored please so I can hack it out?


Here's the output of those two, plus a failing Remove-AppxPackage. You can see there's no InstallLocation, and that it's installed for the SYSTEM user's SID (!). I've also deleted all of the keys that mention it in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore.

The Remove-AppxPackage error is 80070057, which the troubleshooting page says is a bad manifest, but I'm not installing I'm deleting. There are manifests in C:\ProgramData\Microsoft\Windows\AppRepository, and I've tried restoring them from a backup but didn't make any difference.

PS C:\WINDOWS\system32> Get-AppXPackage -All Microsoft.Microsoft3DViewerName                   : Microsoft.Microsoft3DViewerPublisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=USArchitecture           : X64ResourceId             :Version                : 7.2107.7012.0PackageFullName        : Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbweInstallLocation        :IsFramework            : FalsePackageFamilyName      : Microsoft.Microsoft3DViewer_8wekyb3d8bbwePublisherId            : 8wekyb3d8bbwePackageUserInformation : {S-1-5-18 [S-1-5-18]: Installed}IsResourcePackage      : FalseIsBundle               : FalseIsDevelopmentMode      : FalseNonRemovable           :IsPartiallyStaged      : FalseSignatureKind          :Status                 : OkPS 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     : X64Language         : 1033Name             : Microsoft.Microsoft3DViewerProgramId        : Microsoft.Microsoft3DViewer_7.2107.7012.0_x64__8wekyb3d8bbweVendor           : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=USVersion          : 7.2107.7012.0(running as SYSTEM user)PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-AppxPackage Microsoft.Microsoft3DViewer |Remove-AppxPackageRemove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.(Exception from HRESULT: 0x80073CFA)Unspecified errorNOTE: For additional information, look for [ActivityId] bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901 in the Event Log or usethe command line Get-AppPackageLog -ActivityID bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901At 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.RemoveAppxPackageCommandPS C:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-AppPackageLog -ActivityID bbb8aa9a-f1f5-0009-4383-b9bbf5f1d901Time                      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: 0x8007005728/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

Viewing all articles
Browse latest Browse all 9637

Trending Articles