Restore Windows Store in Windows 10 after uninstalling it with PowerShell

Windows 10 comes with many built-in Modern apps of which some of them may not be useful to you. PowerShell, as you may’ve known, allows you to uninstall individual apps or all apps using a single command. If you had used the following command to uninstall all bundled apps in Windows 10, you should have noticed that the much useful “Windows Store” app is one among those removed apps.

Get-AppXPackage | Remove-AppxPackage

Without the “Windows Store” app, you won’t be able to install apps from the Store. This post tells you how to get back Windows Store after uninstalling it accidentally using PowerShell.

Reinstall Windows Store Using PowerShell

To restore or reinstall Windows Store in Windows 10, start PowerShell as Administrator. Click Start, type Powershell. In the search results, right-click “PowerShell” and click Run as administrator.

PowerShell - Run as administrator

In the PowerShell window, Type the following command and press ENTER:

Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
reinstall windows store using powershell
Restore Windows Store using Add-AppxPackage command

That restores Windows Store in most cases. However, for some users, the above command may throw one of the following errors and Store does not get reinstated:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
error 0x80070057: While processing the request, the system failed to register the windows.applyDataExtension extension …
error 0x80070057: Cannot register the request because the following error was encountered during the registration of the windows.applyDataExtension extension: The parameter is incorrect.
An internal error occurred with error 0x80070002.
Package could not be registered. Merge Failure : error 0x80070003 : Cannot register the Microsoft.WindowsStore_2015.23.23.0_x64__8wekyb3d8bbwe package because there was a merge failure.

In those cases, your best option would be to create a new user account which will have all the built-in apps — including Windows Store.

Although there is a procedure that involves altering the “Program Files\WindowsApps” package folder permissions and attempting a reinstall of Windows Store and its dependencies, creating a new user account is probably the safest and preferred way.

Uninstall Individual Apps Using PowerShell

You can then remove unneeded apps individually using the following PowerShell command-line syntax.

Get-AppxPackage [packagename] | Remove-AppxPackage

You can also use asterisks (wildcard) instead of typing the full app name, such as “Microsoft.3DBuilder”. Here are some examples:

Uninstall 3D Builder

Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Uninstall Calculator

Get-AppxPackage *calculator* | Remove-AppxPackage

Uninstall Xbox

Get-AppxPackage *xboxapp* | Remove-AppxPackage

You can uninstall other apps in the same way by using its package name. To find the package name, run the following PowerShell command:

Get-AppxPackage -allusers |more

Restore all Built-in Apps

If you wish to reinstall or restore all the built-in Windows 10 apps, use this command:

Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

That’s another way to restore Windows Store app along with all built-in apps.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

53 thoughts on “Restore Windows Store in Windows 10 after uninstalling it with PowerShell”

  1. Thank you so much!
    I never write comments, but this time i was so happy that i found solution for my problem. You are a great man, thank you sir!

  2. Unfortunately, I have un-installed my windows store apps, don’t know how to re-installed it. After searching on the internet I stuck this website and read your article about re-installed windows store using Powershell, I tried it and finally I succeed. Thank you, Ramesh, for your wonderful stuff.

  3. Hi, Thanks for the help but when I use the code it says that the shell experience host is still open and running. So what should I do?


  4. Hi, thank you.
    I’ve tried this command, but this is the error I get. I don’t know what went wrong? All my apps are gone and I’m losing my mind.

    Add-AppxPackage : Cannot find path ‘C:\appxmanifest.xml’ because it does not exist.
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)\appxmani …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\appxmanifest.xml:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
    modifies are currently in use.
    error 0x80073D02: Unable to install because the following apps need to be closed
    NOTE: For additional information, look for [ActivityId] c68a6b7f-98a5-0001-b629-8bc6a598d401 in the Event Log or use
    the command line Get-AppxLog -ActivityID c68a6b7f-98a5-0001-b629-8bc6a598d401
    At line:1 char:38
    + … | foreach {Add-AppxPackage -register “$($_.InstallLocation)\appxmani …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (C:\Windows\Syst…ppxmanifest.xml:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

  5. Thank you , this worked for me
    Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

  6. So I tried this and I get the following error. Can someone tell me how to fix this please? I keep getting all these errors when trying to do various things.
    β€œYou need a new app to open this ms-get- (Something Something)”


    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is
    already installed.
    Windows cannot install package Microsoft.Services.Store.Engagement_10.0.1610.0_x86__8wekyb3d8bbwe because it has version 10.0.1610.0. A
    higher version 10.0.18101.0 of this package is already installed.
    NOTE: For additional information, look for [ActivityId] 04fe7f55-e2a4-0002-7289-fe04a4e2d401 in the Event Log or use the command line
    Get-AppPackageLog -ActivityID 04fe7f55-e2a4-0002-7289-fe04a4e2d401
    At line:1 char:38
    + … | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (C:\Program File…ppXManifest.xml:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

  7. Unfortunately, the command did not succeed. No error but no result either (store still missing even after reboot)
    I am stuck without microsoft store.
    Silly that one cannot redownload it from microsoft’s site.
    Thanks anyway

  8. Typed in command as instructed, nothing happened. No error message and still have remaining apps. Not really all that pc savvy, not going to bother trying anything else.

  9. I am having issues with windows store and constantly failing apps, I have tried the method of installing one or re-installing all and I get the same error:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
    Windows cannot install package Microsoft.WindowsStore_11904.1001.1.0_neutral_split.scale-100_8wekyb3d8bbwe because the
    package is currently paused. The package must be Staged in order to proceed.
    NOTE: For additional information, look for [ActivityId] 849625a0-62d1-0000-b540-9784d162d501 in the Event Log or use
    the command line Get-AppPackageLog -ActivityID 849625a0-62d1-0000-b540-9784d162d501
    At line:1 char:61
    + … | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : WriteError: (C:\Program File…ppXManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Can you throw some light on this please?

    Thanks in advance

  10. None of the above worked for me but…did actually did:

    Everywhere you find people telling you that you can’t reinstall the Windows can! Download the package below as a .zip file and run ‘Add-Store.cmd’ as administrator. Disable your antivirus before you do because this script will try to alter your configuration and behave like a intrusion on your system.

    Thanks me later..

  11. 1. Download the TakeOwnership file from MediaFire and unzip it:

    2. Run the file named: InstallTakeOwnership.reg

    3. Navigate to: C:\Program Files\WindowsApps

    4. Right click on the ‘WindowsApps’ folder and click on ‘Take Ownership’ in the context menu
    (This will give you permission to access the WindowsApps folder)

    5. Now open the ‘WindowsApps’ folder and find a folder named ‘Microsoft.WindowsStore_11909.1001.7.0_x64__8wekyb3d8bbwe’ and open it
    (your folder name may be slighty different)

    6. Find the file named ‘AppxManifest.xml’ and right click and copy this file

    7. Go to ‘My Computer’ or ‘This PC’ and go to your Local Disk (C:)

    8. Paste the ‘AppxManifest.xml’ file directly in your (C:) directory

    9. Open and run ‘Command Prompt’ as an ‘Administrator’.

    10. Copy and paste the command: PowerShell -ExecutionPolicy Unrestricted

    11. Copy and paste the command: $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + ‘\AppxManifest.xml’ ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest

    12. Close command prompt and open the Run command by pressing ‘Windows Key + R’ and type in WSReset.exe and hit enter

    13. Wait for the WSReset command to close and restart your PC.

    14. Welcome back to the Windows Store!! πŸ™‚
    Guide created by: Luke Jordan 30091990.. PLEASE LIKE AND SHARE IF IT HELPED YOU!!

  12. i tired you fix but this is my result :

    C:\Windows\system32>Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
    ‘Get-AppxPackage’ is not recognized as an internal or external command,
    operable program or batch file.

  13. Ihave already use powershell to reinstall and restore Windows Store in windows 10 pro several times to get back windows store that I accidentally remove until now it doesn’t work my windows store still missing and I don’t know how to get back…I need someone shows me step by step to teach me or someone can use teamviewer to settle my problem.

  14. Hi,

    Awesome script…. I used it to remove app but now the icon on window 10 shows p~microsoft.. how do i remove

  15. Fantastic – the very first step fixed all of the problems I was having with the Store and my Windows app. Thanks so much for the article.

  16. hi sir , actually i am getting a lot of trouble in opening a lot microsoft accessories please help me to fix these problems .

    i am getting a error like when i used a command

    Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

    and the error is below

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073D23, The deployment operation was blocked because Special profile deployment is not allowed. Please try logging into an account that is not a Special profile. You can try logging out and logging back into the current account, or try logging into a different account. The package deployment operation is blocked by the “Allow deployment operations in special profiles” policy. NOTE: For additional information, look for [ActivityId] 60a99c52-841c-0002-4888-aa601c84d601 in the Event Log or use the command line Get-AppPackageLog -ActivityID 60a99c52-841c-0002-4888-aa601c84d601 At line:1 char:38 + … | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Program File…ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand


Leave a Comment