Share via

Cannot remove Store app

Skip B 91 Reputation points
2023-06-15T17:43:21.3966667+00:00

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

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Skip B 91 Reputation points
    2023-06-16T15:44:20.27+00:00

    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

    0 comments No comments

  2. Limitless Technology 45,226 Reputation points
    2023-06-16T08:12:56.4433333+00:00

    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--

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.