Summary

First, open a PowerShell window as admin, run theGet-AppxPackage -allusers WindowsStore | Remove-AppxPackagecommand, and reboot your PC. Then, reinstall Microsoft Store by opening PowerShell as admin and running this command:Get-AppxPackage -AllUsers Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Is the Microsoft Store not working correctly on your Windows 11 PC? You can fix nearly any problem related to the Microsoft Store by uninstalling and reinstalling it. Here’s how to do just that.

Select "Run as Administrator."

This process involves running commands in PowerShell to remove core packages, so consider reinstalling Microsoft Store only when all your other fixes have failed to work. Also, we recommend youcreate a system restore pointbefore removing the Store just in case anything goes wrong.

Step 1: Uninstall Microsoft Store From Windows 11

Unlike other apps, you can’t remove Microsoft Storeusing Settings or Control Panel. You’ll have to run a command from aPowerShellwindow to get rid of the Store app.

To start, access your PC’s “Start” menu and find “PowerShell”. Right-click the app and choose “Run as Administrator.”

Run a command to remove Microsoft Store.

In the “User Account Control” prompt, select “Yes.”

On the PowerShell window, type the following command and press Enter:

Select “Restart” in the menu.

In this command,-allusersmeans removing Store for all the users on your PC,WindowsStorerefers to Microsoft Store, and theRemove-AppxPackagepart tells PowerShell to remove the Store app.

When the command has finished running, close PowerShell. Then,reboot your PCby opening the “Start” menu, clicking the “Power” icon, and choosing “Restart.”

Choose “Run as Administrator."

Related:How to Update PowerShell on Windows 11

Step 2: Reinstall Microsoft Store on Windows 11

To Microsoft Store back on your PC fully refreshed, run a command in PowerShell as follows.

Open the “Start” menu, find “PowerShell”, and click “Run as Administrator.” In the “User Account Control” prompt, click “Yes.”

Run a command to reinstall Microsoft Store.

In PowerShell, type the following command and press Enter:

In this command,-allusersinstalls Store for all users on your system andMicrosoft.WindowsStorerefers to the Microsoft Store app.

When you’ve executed the command, restart your PC. You now have a new copy of Microsoft Store installed on your computer. Enjoy!