How to Remove Windows 8.1 Store Apps with PowerShell (when they won’t go quietly).


Here’s an issue that I’ve only experienced once myself, but that anecdotal evidence says may not be a completely uncommon occurrence for some users.

You install an app from the Windows Store that either doesn’t install correctly (most likely due to an issue from the developer) or you decide that isn’t really your cup of tea.

You open the Start menu and try to Uninstall the app normally, by right-clicking the app tile and then selecting Uninstall from the context menu below.

I’m using the really wonderful app Network Speed Test for this example ( I personally love this app, and have never had issue with uninstalling it, but again this is just for example).

Project2

Now in my experience the app that wouldn’t uninstall had no reaction to my clicking the Uninstall button. I didn’t get an error message, the app just didn’t uninstall.

The next step was to open up PowerShell and ‘get under the hood’ so to speak.  Open up Windows PowerShell as an Administrator.

PowerShell Command Prompt

At the PowerShell command prompt type ‘get-appxpackage’ and hit enter.

Get-AppxPackage

The list of installed applications will scroll past.  You’ll need to scroll back thru them to find the application you can’t remove.

Alternatively you can type ‘get-appxpackage –Name *some portion of the name*’ to find your app package.

Get-AppxPackageName

In the above example I typed ‘get-appxpackage –Name *speed* to find the package for Microsoft.NetworkSpeedTest

Get-AppxPackageName2

From this same output we also get the PackageFullName which will use to remove the package.

RemoveAppxPackage

Now type ‘remove-appxpackage’ with the full package name.  In my example I typed ‘remove-appxpackage Microsoft.NetworkSpeedTest_1.0.0.23_x64__8wekyb3d8bbwe –confirm’

The –confirm switch gives you a nice prompt to let you verify what you are doing before you commit.  Hitting ‘Y’ the default proceeds with the Uninstall.

And now the pesky app is uninstalled (though in my test case I’ll be re-installing that app immediately).

Comments (41)

  1. mob2.ir says:

    Thanks!

  2. Anonymous says:

    does not work with the Package Store:
    Remove-AppxPackage winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy
    …..C:WindowsWinStore failed. This app is part of Windows and cannot be uninstalled on a per-user basis…..

  3. scooter g ONe says:

    What happens when you have to perform a Windows 8.1 reinstall and a number of apps no longer work, you can’t update/repair/reinstall through the store, and the tiles on the start screen are missing the "uninstall" command. Tried the PowerShell and it did
    not find the app. I’m stumped.

  4. Donald says:

    Perfect! Thanks!

  5. Andrew says:

    This is excellent.  Please post more powershell stuff like this.

  6. nosmoking says:

    it is my own pc and it shows me as a local administrator, it will not allow me to use the powershell as administrator

  7. me says:

    how do i remove "store" from windows 8.1

  8. Anonymous says:

    In a previous blog post, I reviewed an issue some users were having launching the Windows 8.1 App Store

  9. kintelary says:

    I uninstalled a program and the program had created a place on the app list and the uninstall did not remove it. So, now I can’t remove it. I tried this method and it does not show up. The only thing I can get it to do is come up in its folder. But the folder doesn’t actually exist and the shortcut can’t be deleted or interacted with. What do I do? Any help is greatly appreciated.

    email kintelary gmail thanks.

  10. DBreeze says:

    It doesn’t remove the apps but is a good work around:
    Go to:
    c:programdatamicrosoftwindowsstart menuprograms

    Delete the shortcuts to the Apps you don’t want.

    Although this doesn’t remove the apps it does remove them from the start menu for all users.

  11. Andy says:

    Perfect! Thanks! It did what i can’t find in Win8 UI at all. 🙂

  12. SAMMY8A says:

    You saved my life!

  13. augie says:

    In all my 40 yrs of computing I have never experianced such an un-user friendly excuse for software. I have 85 days to return it to the store and unless Microsoft comes up with something better then I’m staying with XP until the junk yard runs out of them.

  14. Dev says:

    Thank you!

  15. pinky says:

    GREAT! pesky fake free apps removed for good thanks you. please post more powershell demos!

  16. kdugg says:

    I’m with augie. Windows 8 is crap. It’s been done like this on purpose to stop users managing their software

  17. HRUSH says:

    I want to remove the mail app and reinstall it.I am unable to get it by searching [get-appxpackage –Name *calender*
    get-appxpackage –Name *people*
    get-appxpackage –Name *mail*]
    None of these is able to search please suggest the solution…..

  18. Takato says:

    Worked great.
    Thank you!

  19. Takato says:

    Worked great.
    Thank you!

  20. mtfkrs says:

    Not working with windows store in 8.1 !!!!!!!

  21. molly says:

    I am going away
    lgfhjpyt

  22. cv'hrt[u says:

    cv.braervroey

  23. Peter says:

    Thanks this is great

  24. twigs957 says:

    Gameloft Asphalt 8 crashed and my app store suggested that I uninstall it and reinstall it. The problem is it doesn’t uninstall either through windows or by using windows powershell. In powershell when I hit y it does nothing.

  25. JP says:

    Thanks a lot.

  26. Debbie says:

    I tried and cannot uninstall Unpacker with Exception from HRESULT: 0x80073CFA
    Unpackert is the tool MS automatically installs for unzipping zipped files. I tried using it but it was so limited… I could not browse to find the file to unzip or where to unzip it. I try to associate zipped files with the other tool I installed by default
    but there are a couple hundred associated with Unpacker and it would take hours to complete.

  27. Laraib says:

    Thanks a lot dear, Works Perfect!

  28. nidhi says:

    Thanks a lot:)

  29. tamiee says:

    works.. except didn’t ask me to confirm uninstall. but Thanks anyway.. 🙂

  30. abraham says:

    thanks a lot man very useful.
    after entering 2015 my mail-calendar-people apps stopped working, don’t know why and
    there was no uninstall option in the right click.
    but with this method I removed the ‘microsoft.windowscommunicationsapps’ app
    and it was successful thanks to you.
    Good Luck

  31. David says:

    Many thanks for good effort but it does not work for windows store in 8.1.Please email me at david@pettigrewsonline.net if you can think of any other approach.

  32. rwhd says:

    Thanks for the tips! It worked flawlessly.

  33. jim says:

    Thank you very much!!

  34. Bohack says:

    I had just put a video together for removing all the Metro Apps on Windows 8.1 with powershell
    https://www.youtube.com/watch?v=l7g_8S3GngA

  35. Ian Steer says:

    Excellent – just the info I was looking for – thank you

  36. Ciel Avenir says:

    I had the "80070002 AppxDeploymentFailureBlue" stuff. I tried everything but failed.
    However, I was able to fix the problem by purging the broken package using this method. Thank you very much!

  37. Denise says:

    Hi there…I bought a brand new HP envy laptop in March loaded with Windows 8.1. The "Store" app doesn’t work at all…the screen pops up and then goes down to the task bar. This also happens to 95% of the other apps that came with this OS. The Store does
    not have the option to uninstall, nor does it have the option to update, or sync licenses, it doesn’t appear in the task manager…it exists only as a green tile that does nothing. I have been on the MS forums (as well as other forums too), and tried many
    things…powershell/wreset/app diagnostics/renaming cache folders/you name it, I have done it…nothing works. I phoned up the MS support, and was told if I paid for some sort of subscription, that an engineer can fix it. Um…no …this is a new machine and
    should work!. The HP support told me to do a reset…..My IT guy wont touch it and told me to downgrade to 7……Help Help….

  38. Seriously says:

    Some others asked….How do you remove or uninstall "STORE" completely from Windows 8.1 This would also help uninstall or remove completely other junk like Food & Drink.

  39. pissed off ! says:

    would not remove refering to vendor. WTF !!!

  40. jim says:

    Thank you thank you thank you works in win 10 as well

  41. Yahoo! says:

    Awesome, thanks for that tip! Works perfectly on Windows 10.