How to Reinstall the Microsoft Store on Windows 11 – How-To Geek

How to Reinstall the Microsoft Store on Windows 11 – How-To Geek

This helps resolve many Store-related issues on your PC.
First, open a PowerShell window as admin, run the Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage command, 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.
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 you create a system restore point before removing the Store just in case anything goes wrong.
Unlike other apps, you can’t remove Microsoft Store using Settings or Control Panel. You’ll have to run a command from a PowerShell window 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.”
In the “User Account Control” prompt, select “Yes.”
On the PowerShell window, type the following command and press Enter:

Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage

In this command, -allusers means removing Store for all the users on your PC, WindowsStore refers to Microsoft Store, and the Remove-AppxPackage part tells PowerShell to remove the Store app.
When the command has finished running, close PowerShell. Then, reboot your PC by opening the “Start” menu, clicking the “Power” icon, and choosing “Restart.”
Related: How to Update PowerShell 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.”
In PowerShell, type the following command and press Enter:

Get-AppxPackage -AllUsers Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}

In this command, -allusers installs Store for all users on your system and Microsoft.WindowsStore refers 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!
Related: How to Reinstall Apps You’ve Purchased from the Microsoft Store

By subscribing, you agree to our Privacy Policy and may receive occasional deal communications; you can unsubscribe anytime.
Mahesh Makvana is a how-to writer at How-To Geek. He has over a decade of experience writing in-depth tutorials about various aspects of technology. His work has been published on sites like MakeUseOfGeekFrostMakeTechEasier, and Online Tech Tips.

Mahesh has always loved technology. When he first got an Android phone, he started writing tutorials about how one can get the most out of one’s Android device. He has covered many other platforms as well, including Windows, Mac, iOS, and the internet.

Outside of tech, Mahesh loves trying out different foods. He prefers eating healthy items, but eating some junk every once in a while is okay for him.

source


Comments

Leave a Reply

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