How to reset app using PowerShell on Windows 11

Configurare noua (How To)

Situatie

On Windows 11, the Settings app allows you to quickly reset many Universal Windows Platform (UWP) apps when they are not working correctly. However, it is not possible to reset all apps or even certain system components like the Start menu. Starting with this new version, the system now includes the ability to use a PowerShell command to reset any UWP app, which will come in handy when you need to repair some apps or components, which are not available in the Settings app.

Solutie

Reset Windows 11 apps using PowerShell

To reset an app on Windows 11 with PowerShell, use these steps:

    1. Open Start on Windows 11.
  1. Search for PowerShell, right-click the top result, and select the Run as administrator option.
  2. Type the following command to view all installed apps and components and press Enter:
    Get-AppxPackage | Select name

    PowerShell list installed apps command

  3. Confirm the name of the app you want to reset.
  4. Type the following command to reset the Windows 11 app and press Enter:
    Get-AppxPackage Microsoft.549981C3F5F10 | Reset-AppxPackage

    PowerShell reset Widgets app

    In the command, replace “Microsoft.Widget.Source” for the name of the app you want to reset and you identified in step No. 3.

    Important: When resetting an app with PowerShell, the app’s data will also be deleted.

Once you complete the steps, the app will reset and should start working correctly. In addition, to reset apps, you can also uninstall apps using PowerShell, and these are the steps to complete the task.

Tip solutie

Permanent

Voteaza

(16 din 30 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?