Remove all apps bundled with Windows 10 but keep Windows Store

Recently, I covered how to remove all bundled Windows 10 apps at once, or individually, and how to reinstall the Windows Store app. In this article, I will cover an additional way to get rid of all bundled apps but keep the Windows Store installed. Let's see how that can be easily done.

To get rid of all defaults apps bundled with Windows 10, you need to run a PowerShell script. Here is what you have to do.

  1. Open an elevated PowerShell instance. To run it, open the Start menu (press Win key on the keyboard) and type Powershell. When it comes up in the search results, right click on it and choose "Run as administrator". Or you can also press Ctrl + Shift + Enter to open it as administrator. Opening PowerShell as administrator is important, otherwise, the script you run will fail.
  2. Enable the execution of local files which are not digitally signed. This can be done with the following command:
    Set-ExecutionPolicy Unrestricted

  3. Download the ready-to-use script I coded from HERE.
  4. At the Powershell prompt, type the full path to the script you downloaded, then press Enter.

You are done. All the built-in apps will be gone, but Windows Store will remain installed and working. You can edit the script to remove/whitelist apps you are planning to use. That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

34 thoughts on “Remove all apps bundled with Windows 10 but keep Windows Store”

  1. Howdy,
    Thanks for the great article.
    1. I also want to remove Windows Store App, so what to add to the batch file?
    2. Can I change “ForEach ($package in $Packages)” to “ForEach ($Package in $Packages)”? initial p to upper case?

    1. You can change the letter case.
      For Windows Store, add the following package id to the package list.


  2. Hi Sergey,

    From your first post on removing all apps, I have rid of Windows store app too. Now to get it back, I followed your restore Windows store app article but I cannot find the folder or file of Windows store under Windows App. Any idea how to install it a fresh please?

  3. Hi Sergey!
    This does not work for me. See the following screenshot:
    What am I doing wrong?

    1. For some reason, it does not set the execution policy for you!
      Try to answer with the capitalized “Y” letter?

      1. Hi Sergey!
        I was thinking the same thing at once, and tested with Y instead of y, but it gets the same result.
        I have also tried to place your file in different locations, but it gets the same result.
        Do you have any idea what the problem is?

        1. Well, let’s try the following:
          Set-ExecutionPolicy Unrestricted
          Then run the script.
          Maybe I am wrong and RemoteSigned is NOT suitable for the downloaded file!

          1. Thanks!
            I have now tested this. When I run your file, it displays several sections with red text. But it seems that it works. All apps without ‘Edge’ and ‘Store’ is now gone.

            See the following screenshot:

  4. I found this in Windows 10 Forums, this seems like the easiest way to remove all apps from all users but keep Windows Store:

    Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike “*Store*”}

  5. actually, i’d used your suggestions in earlier article and uninstalled everything i was thinking i don’t need.
    now Windows Store is gone for good. there is no package of it anywhere and it can’t be recovered/reregistered

    may be you know a solution for that, besides refreshing windows?
    and if i have to refresh, don’t you know how much disastrous. i have a very necely set up machine with much of needed soft and so on?
    if it will just do what it did when updating from 7, that’s ok i think

  6. Get-AppxPackage -AllUsers | Remove-AppxPackage | where {$_.Name -notlike “*Store*”}

    I used the script provided by MDj and it worked but it also removed the store. Not happy.

    1. I think you might have forgotten to replace formatted double quotes “*Store*”} with straight quotes: “*Store*”}

  7. This stuff does not work…

    Probably the packages have different IDs in my recent Windows Home version.
    (it is ridiculous that this kind of low-level meddling is needed to get rid of that Microsoft crap)

  8. yeah, it doesn’t seem to be working for me, it is showing Deployment failed with HRESULT: 0x80073CF1, Package was not found. for every file

  9. If we have to undo this, how does it work? Is there a script, or a command to undo the process?

    Thank you

  10. I tried “Set-ExecutionPolicy Unrestricted”
    The system indicated that the setting is overridden by a policy defined at a more specific scope.
    I typed “Get-ExecutionPolicy -List”
    The system showed the ExecutionPolicy for CurrentUser as Restricted, and for MachinePolicy, UserPolicy and Process scopes as undefined and for LocalMachine as Unrestricted.

    I don’t recall restricting myself – the current user. I’m the only one who uses this computer. How do I remove the restriction from currentuser?

    Thank you!

  11. When I run the `ready to run script` I get a requester window asking “How do I want to open this file”?

  12. Hey there Sergey. Is there any guide on how to get the ID/name/whatever of all the different apps that i want to uninstall? When i executed the scripted it just gave a wall of red text saying that i dont have those packages (even though, i clearly have them).


Leave a Reply

Your email address will not be published.

Exit mobile version
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.