Keeping the Microsoft Store in top shape on your PC is crucial if you rely on it a lot to download apps, games, and movies. If the program malfunctions, removing and reinstalling it could help get it working correctly.
Go through the instructions in this troubleshooting tutorial to reset, repair, and reinstall the MS Store in Windows 10 and 11.
Before You Reinstall the Microsoft Store App
There are several reasons why you should reinstall the Microsoft Store on your computer. For example, it could be because you have trouble installing apps, encounter cryptic error codes, or find the store itself missing.
However, before you uninstall and reinstall the Microsoft Store, it’s best to clear the program’s cache, and then reset and repair the program. It’s also a good idea to update Windows.
These actions often clear minor technical glitches and could even allow you to avoid reinstalling the Microsoft Store altogether. Even better, they are quick and easy to perform.
Clear Windows Store Cache
Windows 10 and 11 have a built-in Microsoft Store reset tool. It automatically clears the Microsoft Store cache and is the fastest way to fix unexpected problems.
- Press Windows + R to open a Run dialog.
- Type wsreset.exe and press Enter.
- A blank Command Prompt console window appears, and the Microsoft Store shows up immediately after.
Learn about other ways to clear the Microsoft Store cache.
Run Windows Store Apps Troubleshooter
Use the Windows Store Apps troubleshooter to scan and fix the Microsoft Store for problems. Like the Microsoft Store reset tool, it’s built into the operating system, so you don’t have to download anything.
- Right-click the Start button and select Settings.
- Go to System > Troubleshoot > Other/Additional troubleshooters.
- Select Run next to Windows Store Apps.
Repair Microsoft Store
Repair the Microsoft Store via the Apps & Features console in Windows to eliminate file corruption issues with the application.
- Right-click the Start button and select Apps and Features.
- Scroll down and select Microsoft Store > Advanced options. In Windows 11, select More (three dots) to unveil Advanced options as a menu item.
- Select Repair.
Reset Microsoft Store
Reset the Microsoft Store to factory defaults to resolve problems that stem from a broken settings configuration. Prepare to sign back in with your Microsoft Account after you do that.
- Revisit the Apps & Features console.
- Scroll down and select Microsoft Store > Advanced options.
- Select the Reset button.
Update Microsoft Windows
Install the latest operating system updates through Windows Update to fix potential conflicts between Windows and the Microsoft Store. You can skip this and update Windows after reinstalling the Microsoft Store.
- Open Settings.
- Select Windows Update.
- Select Check for updates > Download and install.
Reinstall Microsoft Store App via PowerShell
If repairing or resetting the Microsoft Store did not help, it’s time to delete the program and install it from scratch. Unlike other applications, you can’t remove it via the Apps & Features console in Windows. Instead, you must use an elevated Windows PowerShell console for uninstallation and reinstallation.
Note: If you have a standard Windows account, ask a user with administrative privileges to reinstall the Microsoft Store.
- Right-click the Start button and select Windows PowerShell/Terminal (Admin). Or type powershell into the Start menu and select Run as administrator.
- Select Yes on the User Account Control dialog.
- Copy and paste the following into the command line interpreter:
Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage
- Press Enter and wait until Windows PowerShell removes the Microsoft Store.
- Shut down and reboot your computer.
- Relaunch an elevated Windows PowerShell console and execute the command to reinstall the Microsoft Store.
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}
Alternatively, reinstall the Microsoft Store and all Store apps bundled with Windows. Only do that if the problem is severe and affects multiple applications. Execute the PowerShell commands below:
- Get-AppXPackage | Remove-AppxPackage
- Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}
Alternative Method to Reinstall Windows Store
Another way to reinstall the Microsoft Store is to remove it via Windows PowerShell, but add the program back using the latest application package files from the Microsoft servers. However, the only way to generate the download links is through a third-party download portal.
Note: If you’re concerned about the safety of the application packages you download, use a third-party antivirus utility for Windows to check the files for security threats.
- Copy and paste the following link into your browser’s address bar and press Enter:
store.rg-adguard.net
- 3 Ways to Prevent Windows 10 from Deleting Thumbnail Cache [Partition Magic]
- How to Fix Discord Text to Speech Not Working Issue [Partition Manager]
- Fix Twitch Error 1000 when playing a video
- How to Import a Hyper-V Virtual Machine
- How to Fix Windows 10 Stuck on Checking for Updates Issue
Read also:
- On the page that shows up, switch to ProductID on the first drop-down.
- Type 9wzdncrfjbmp into the search box.
- Select Retail on the second drop-down.
- Select the Checkmark icon and wait until the portal fetches the relevant links from Microsoft.
- Download the most recent versions of the following AppX and MSIXBundle installers. You may see up to two versions of the same package, so use the version numbers within the file name for guidance.
- Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.appx
- Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.appx
- Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.appx
- Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.appx
- Microsoft.WindowsStore_22210.1401.6.0_neutral_~_8wekyb3d8bbwe.msixbundle
Note: If you use a 32-bit or the ARM version of Windows, make sure to download the AppX installers—the first four items on the list—that contain x86 or arm in the file name, respectively.
- Visit your computer’s Downloads folder, and run the four AppX installers one after the other, and select Install.
- Run the MSIXBundle installer and select Install.
If you have trouble installing any of the AppX installers, install them via Windows PowerShell using the following command:
Add-AppxPackage -Path “C:Users[Username]Downloadsfilename.Appx”
Replace C:Users[Username]Downloadsfilename.Appx with the folder path and filename of the AppX package. Finally, rerun the MSIXBundle.
You’ve Finished Reinstalling the Microsoft Store in Windows
Reinstalling the Microsoft Store is not the remedy to all complications that crop up with the program. So, you might need to continue troubleshooting to resolve whatever issues are plaguing it fully.
We have several troubleshooting articles that address various Microsoft Store errors. Select the Search button at the top of the screen to look up relevant guides for your specific problem.
— Update: 26-03-2023 — us.suanoncolosence.com found an additional article Restore Microsoft Store in Windows 10/11 after uninstalling it with PowerShell from the website www.winhelponline.com for the keyword removing uninstalling reinstalling microsoft store not supported.
Windows 10 and 11 come with many built-in Store apps that may not be useful to you. As you may have known, PowerShell allows you to uninstall individual apps or all apps using a single command.
If you had used the following command to uninstall all bundled apps in Windows 10 or 11, you should have noticed that the much useful “Windows Store” app (now known as “Microsoft Store”) is one of those removed apps.
Get-AppXPackage | Remove-AppxPackage
Additionally, you may get the following error when opening certain Store apps or running wsreset.exe
:
You'll need a new app to open this ms-windows-store link
Lately, Windows 11 users have been saying that the Microsoft Store app is missing or non-functional after resetting Windows 11. Without the “Microsoft Store” app, you won’t be able to install or update Store apps.
This post tells you how to get back the Microsoft Store app if it’s missing after a reset or if you’ve uninstalled it accidentally using PowerShell.
Reinstall the Microsoft Store app
Here is how to reinstall Microsoft Store. The 1st method applies if the Microsoft Store app package folder is intact. The 2nd method should be used if the Microsoft Store provisioned app package folder doesn’t exist.
Method 1: Using PowerShell
To restore or reinstall Windows Store, start PowerShell as Administrator. Click Start, and type Powershell. In the search results, right-click “PowerShell” and click Run as administrator.
In the PowerShell window, type the following command and press ENTER:
- Create and print your own business cards in Publisher
- Error Opening File for Writing: 9 Methods to Fix This Issue
- How to Adjust the Audio Level in Windows 10 With Hotkeys
- How to change Microsoft Edge browser themes, background and appearance
- How to Fix DRIVER CORRUPTED EXPOOL Error on Windows 10
Read also:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
That reinstalls the Microsoft Store app.
If you wish to reinstall or restore all the built-in Windows 10/11 apps (including Microsoft Store), use this command:
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}
However, for some users, the above commands may throw one of the following errors, and Store does not get reinstated:
Add-AppxPackage : Cannot find path 'C:AppXManifest.xml' because it does not exist. At line:1 char:61 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. error 0x80070057: While processing the request, the system failed to register the windows.applyDataExtension extension ...
error 0x80070057: Cannot register the request because the following error was encountered during the registration of the windows.applyDataExtension extension: The parameter is incorrect.
An internal error occurred with error 0x80070002.
Package could not be registered. Merge Failure : error 0x80070003 : Cannot register the Microsoft.WindowsStore_2015.23.23.0_x64__8wekyb3d8bbwe package because there was a merge failure.
The above errors if the Microsoft Store package folder is missing (or incomplete) from the C:Program FilesWindowsApps
folder. You’ll need to download the Microsoft Store appx bundle/package from Microsoft and install it in those cases. The instructions are given in Method 2 below.
Method 2: Download the Microsoft Store installer (Appx package)
You can download the Microsoft Store app and its dependencies in the form of .Appx and .MsixBundle package or installers from the official Microsoft’s servers. Follow these steps to do so:
- Visit the following website:
https://store.rg-adguard.net/
The above third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing to the official Microsoft servers.
- On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.
https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp
- Select Retail (or the appropriate branch accordingly), and click the generate button.
- As the Microsoft Store app depends on .NET Framework, .NET Runtime, Microsoft.UI.Xaml, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64) of your Windows 10.
- Now, you would have downloaded these five Appx packages — the version numbers will vary according to the build/version of the Microsoft Store app.
Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe.Appx Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.Appx Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.Appx Microsoft.WindowsStore_22207.1401.1.0_neutral___8wekyb3d8bbwe.Msixbundle
- Run each .appx installer first, as they’re the dependencies of the Microsoft Store.
Appx or Msixbundle files don’t run when double-clicked?
If double-clicking on an Appx or Msixbundle file doesn’t start the installer, as an alternative, you can use PowerShell to install each package. The PowerShell command-line syntax is below:
Add-AppxPackage -Path "C:Pathfilename.Appx"
If you get the error
Deployment failed with HRESULT: 0x80073D02
, skip the package. It’s most likely because the package or dependency is already installed and currently in use by some other app.Also, you can run the following command to check if an app package is already installed or not:
get-appxpackage | sort-object -Property PackageFullName | select packagefullname | out-gridview
If the package (of the same version) is already installed, you don’t have to install it again.
- Finally, run the Microsoft Store installer (.Msixbundle) file and complete the process.
- That’s it. The Microsoft Store app is now reinstated. Open Microsoft Store → Settings to check its version.
Verify the Microsoft Store app info using PowerShell (Optional)
After installing the Microsoft Store appx package, it would have restored the following folders under the Program FilesWindowsApps
folder:
Microsoft.WindowsStore_nnnnn.nnnn.nnn.n_neutral_~_8wekyb3d8bbwe Microsoft.WindowsStore_nnnnn.nnnn.n.n_x64__8wekyb3d8bbwe Microsoft.WindowsStore_nnnnn.nnnn.n.n_neutral_split.scale-100_8wekyb3d8bbwe
Optionally, to verify the Microsoft Store app info, open the PowerShell (administrator) window and run the following command:
Get-AppxPackage Microsoft.WindowsStore
Name : Microsoft.WindowsStore Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Architecture : X64 ResourceId : Version : 22207.1401.1.0 PackageFullName : Microsoft.WindowsStore_22207.1401.1.0_x64__8wekyb3d8bbwe InstallLocation : C:Program FilesWindowsAppsMicrosoft.WindowsStore_22207.1401.1.0_x64__8wekyb3d8bbwe IsFramework : False PackageFamilyName : Microsoft.WindowsStore_8wekyb3d8bbwe PublisherId : 8wekyb3d8bbwe IsResourcePackage : False IsBundle : False IsDevelopmentMode : False NonRemovable : False Dependencies : {Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe} IsPartiallyStaged : False SignatureKind : Store Status : Ok
You’ll see that the Microsoft Store app is fully installed along with its dependencies.
This article applies to Windows 10 and Windows 11.
Source: https://helpdeskgeek.com/windows-11/how-to-reinstall-microsoft-store-in-windows/