How to Reset a Store App in Windows 10 Using PowerShell
In Windows 10 build 20175, Microsoft simplified the Store app reset procedure to the execution of a single PowerShell cmdlet. This change is very useful for advanced users, and for various automation and maintenance scenarios.
Advertisеment
Windows 10 comes with a number of Store apps preinstalled. The user can manually install more Universal Windows Platform apps developed by Microsoft and third-parties from the Store when needed. It is also possible to purchase apps and other multimedia contents using the Store app.
The Microsoft Store app allows you to update apps automatically. This is enabled by default. It caches some details about installed and available apps to speed up the process of browsing them and improving the responsiveness of the Store app. If you are using a Microsoft account, your apps will be available across all your devices thanks to the 'My Library' feature of the Store.
Resetting Store apps in Windows 10
If a Store app fails, you could try to reset it. Most Android users are familiar with clearing an installed app's data. If an app behaves wrongly, does not start or has filled the device storage with corrupted or unwanted files, the easiest way to resolve these issues is to reset it. Earlier, I have covered a couple of methods you can use to reset an app in Windows 10. The PowerShell method mentioned in the linked post is a bit complicated, so starting in Windows 10 build 20175 Microsoft provides a new cmdlet that makes the process simplified and transparent. The benefit of enabling this via PowerShell is that if needed you will now be able to run the reset commands for certain system components that are not currently listed as available to reset in Settings, for example Start.
To Reset a Store App in Windows 10 Using PowerShell,
- Open PowerShell as Administrator.
- Type the following command to see the list of available apps that you can reset.
Get-AppXPackage -AllUsers|Format-Table
. - Find the app you want to reset. It can be the Calculator app, or even the Start menu (it is listed as
Microsoft.Windows.StartMenuExperienceHost
in the list). - Now, issue the command
Get-AppxPackage <package name> | Reset-AppxPackage
. Substitute<package name>
with the actual package name from the above list. For example,Get-AppxPackage Microsoft.Windows.StartMenuExperienceHost | Reset-AppxPackage
. - You can also use wildcards instead of typing the full package name, e.g.
Get-AppxPackage *start* | Reset-AppxPackage
. However, be careful, as you can accidentally reset some other app if its name matches the name template.
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!
Advertisеment
Will that work for the “Microsoft Store” when it won’t open?
Mine stops working every few months because I have “secure rules” turned on in Windows Firewall Control (I’ll decide what to allow thank you very much) and it fails every time it tries to silently autoupdate in the backgound because M$ can’t automatically add whatever allow rules they want to to my firewall.
I currently use the following to fix it.
“Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
It *should* work. needs to be checked.