Thanks for the reply.
We find that issuing
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
without anyone logged on is clearing out the old versions.
Skip
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Our security software is showing that multiple devices in our environment have an old Paint app installed. It points to:
c:\program files\windowsapps\microsoft.mspaint_6.1907.29027.0_x64__8wekyb3d8bbwe
When I run the following:
Get-AppxPackage -PackageTypeFilter Main, Bundle, Resource -AllUsers | Where-Object {$_.PackageFullName -like "Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe"} | Remove-AppxPackage -Allusers
I get this error:
“Remove-AppxPackage : Removal failed. Please contact your software vendor.
Deployment DeStage operation with target volume C: on Package Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe
from: failed with error 0x80070002."
I try to remove it with DISM by issuing:
Dism.exe /online /remove-provisionedappxpackage /packagename:Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe
And it gives the errors:
DISM Appx Provider: PID=4508 TID=4208 onecore\admin\appmodel\utilities\provisionhelper\msixpackageadapter.cpp(1851)\AppxProvider.dll!00007FF9FD9291B0: (caller: 00007FF9FD8FA07B) ReturnHr(1) tid(1070) 80070002 The system cannot find the file specified.
Msg:[Failed to open 'C:\Program Files\WindowsApps\Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe\AppxMetadata\AppxBundleManifest.xml'.]
I looked and AppxBundleManifest.xml is not in that directory.
Is there anyway to remove this app? Can I just delete the Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe folder?
Skip
Thanks for the reply.
We find that issuing
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
without anyone logged on is clearing out the old versions.
Skip
Hello there,
This error is usually occur due to missing of the files.
check this
Uninstall from the Start menu
Select Start > All apps and search for the app in the list shown.
Press and hold (or right-click) on the app, then select Uninstall.
Uninstall in Settings
Select Start > Settings > Apps > Apps & features .
Find the app you want to remove, select More > Uninstall.
if the issue persists please make a reset to the pc
Select Start > Settings > System > Recovery . Open Recovery settings.
Next to Reset this PC , select Reset PC. Then choose from the options and/or settings in the table below.
click local reinstall
And see if it helps,
Thank you
--If the reply is helpful, please Upvote and Accept as answer--