Home How to How to Reset UWP Apps using PowerShell in Windows 10

How to Reset UWP Apps using PowerShell in Windows 10

-

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 readingHow 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:

list of windows 10 app to reset using windows powershell

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

calculator app package name in windows 10

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.

reset calculator app using windows powershell command method

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.

If you find this blog post useful, please share it on Social Media. A quick share will help in growth of this blog. It hardly takes 10 seconds, isn't it?
Viney Dhimanhttps://geekermag.com/
Himachali, Mechanical Engineer, Webmaster at Geeker Mag, Follow it on Telegram https://t.me/geekermag | https://about.me/deadbycrushing

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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

Related to Tags

Create Bootable Hirens BootCD USB for Windows 10

1
Want to learn the way of how to quickly create Bootable Hirens BootCD USB for Windows 10? This post is dedicated to you, and...

Related to Category

Microsoft is testing a new feature called “Sleeping tabs” in Edge...

0
Understanding user expectations from a browser is what developers need to take care of. Google launched a feature named 'Proactive Tab Freezing'...