Hi,
if you want to uninstall some preinstalled store apps you get an error “Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.”
This error could happen if the App is not correctly registered.
1 2 | PS D:\>Get-AppxPackage -AllUsers Microsoft.Microsoft3DViewer|Remove-AppxPackage -AllUsers Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CFA) |
ReRegister the app an try again:
1 | PS D:\> Get-AppXPackage -AllUsers Microsoft.Microsoft3DViewer | Foreach { Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" } |
Remove the app
1 | PS D:\> Get-AppxPackage -AllUsers Microsoft.Microsoft3DViewer | Remove-AppxPackage -AllUsers |
Also remove provisioning
1 | PS D:\>$aProvisionedPackages | Where-Object {$_.DisplayName -Like "Microsoft.Microsoft3DViewer" } | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName } |
Michael