How to Reset Microsoft Store Apps using PowerShell in Windows 10

Microsoft Store makes downloading software and apps more accessible to everyone. However, there is no way to reset an app or clear cache of an app downloaded from Microsoft Store. This creates a huge conflict when some of these apps are not responding or simply not working.

Clearing cache or resetting Microsoft Store Apps is possible using the in-built Powershell option present in windows 10. Let’s see how it works and how you can easily reset Microsoft Store Apps using Powershell.

How to Reset Microsoft Store Apps using PowerShell in Windows 10

How to Reset Microsoft store in Windows 10 using Powershell?

After using multiple Microsoft store apps, you might face multiple challenges. Like closing or not opening. So to rectify this, we can simply reset the app data—there many ways of doing it. But the Powershell method is quicker than other methods. So in this article, we are about to explain how to reset Microsoft store apps using Powershell.

The method is very easy and involves just copying and pasting. Follow these methods to reset the store app:

Step 1: Open PowerShell by right-clicking on the Start button and selecting Windows Powershell(Admin).

Advertisements

Step 2: As the window opens, paste this text: wsreset and hit enter.

Now wait for the command to run, once finished, the store app will restart after a reset.

Reset other apps using Powershell

Herewith the Powershell, we can simply re-register an app using the cmdlet. But it is not the same as resetting app from the Settings (graphical method). However, it should fulfill our requirements. Follow these steps.

Advertisements

Step 1: Open Powershell as admin by following methods mentioned in step 1 above.

Step 2: Type in the following text and hit enter.

Get-AppxPackage | Select name

Step 3: This would bring up the list of apps available on your system.

Advertisements

Step 4: Now, from the list, copy the exact name of the app you want to reset using Powershell and type in this text and replace the text <App Name> in the following text.

Get-AppxPackage | <App Name>
For Example: Get-AppxPackage | Microsoft.Windows.Photos

Step 5: Now, this would bring up details about the app, and we have to copy the “Program Full name” from the details.

How to Reset Microsoft Store Apps using PowerShell in Windows 10

Step 6: Replace the text <Program name> with the Full name of the program you are about to reset, in the following text and hit enter.

Add-AppxPackage -register "C:\Program Files\WindowsApps\<Program name>\appxmanifest.xml" -DisableDevelopmentMod
For Example: Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMod

Advertisement

How to Reset Microsoft Store Apps using PowerShell in Windows 10

Now a progress bar will show on the top of the PowerShell window. Wait for it to complete, and now you’ve just reset the particular app.

Reset All Windows apps

The reason people use the Powershell method is that, with a single cmdlet, we can reset all apps. This would save a huge amount of time. And for that, you’ve to just paste the following text into Powershell and hit enter.

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

That’s it. This command will reset all your apps, and you can simply restart the machine to complete the process.

Conclusion

Powershell command will help you to save time when it involves resetting Microsoft store apps. But when it comes to resetting any particular app, the PowerShell method becomes inefficient. At that time, the graphical method of resetting the app will come in handy. But it is good to know alternative methods to complete the work. Happy computing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.