From last few months, Windows 10 users have been resetting UWP apps from the app settings. To check the method, you can check our previous post on how to reset settings app in Windows 10. The steps are same for all UWP apps or the apps that comes our of the box in Windows 10.
You might be interested in reading – How to Fix – Error Code: DLG_FLAGS_INVALID_CA
Reset UWP Apps in Windows 10 using PowerShell
To give users alternate method, Microsoft added a new ability to reset UWP apps via Windows PowerShell in Windows 10 v2004 OS build 20175 in Dev Channel. If you want to try this method, then here’s what you need to do:
Launch Elevated Windows PowerShell. For that, right-click on the Start button and select Windows PowerShell (Admin).
Let’s learn which apps you can reset using this command trick. For that, execute following command: Get-AppXPackage -AllUsers|Format-Table
Doing this will give you complete list of app. Check this screenshot:
Now look for the app which you want to reset. It could be People, Calculator, and even more Microsoft Store apps.
From above command execution, you need to copy the package name for the app. I want to reset calculator app, so I copied Calculator app package name i.e. Microsoft.WindowsCalculator
The discussed below is the command which you need to use to reset apps using Windows Powershell.
Get-AppxPackage <package name> | Reset-AppxPackage
In above command, you need to replace package name with the package name of app which you want tor reset. So the full command for resetting Calculator app will look like this:
Get-AppxPackage Microsoft.WindowsCalculator | Reset-AppxPackage
Every time you execute the command, you need to wait for until deployment completes.
One of the main benefit of this method is that you can reset certain system components that are not listed as available to reset in Settings app.
For example, if you want to reset Start menu in Windows 10, then there’s no option available to do so. But you can reset Start by executing this command: Get-AppxPackage Microsoft.Windows.StartMenuExperienceHost | Reset-AppxPackage
Instead of adding full package name for app in the command, you can also short it. For that, you need replace Microsoft.Windows.StartMenuExperienceHost with *Start*. So command will look like:
Get-AppxPackage *Start* | Reset-AppxPackage
Use the above method, only if you’re sure about the name of the app, else it will delete other app with same name.
Resetting UWP app via PowerShell command method will reset particular app to default settings and you will lose all the data associated with app.
What are your thoughts about Microsoft introducing a new method to Reset UWP apps in Windows 10? Let us know in the comments.