At what point you may want to reinstall the Microsoft Store application in your Windows 10. Who knows, maybe you accidentally deleted this application or, for example, some specific pest virus entered the system that crawled out of the store from Windows with roots.
It’s worth noting that the Microsoft Store app doesn’t have a reinstall option. This task is performed exclusively through PowerShell running as an administrator. Some users prefer to avoid the command line because they are afraid to harm their system. Nevertheless, using the console is very convenient and simple if you know the specific commands.
Now we’ll show you how to reinstall Microsoft Store using PowerShell in just a few minutes. Follow the directions and everything will be fine.
How to reinstall Microsoft Store on Windows 10
So, it is worth asking you right away so that you do not deviate from the steps that are indicated below. Do not try to enter commands at random, because although it is unlikely, it can still affect the operation of the operating system. Here’s what you need to do:
- click Win + R;
- write on an empty line powershell and press Ctrl + Shift + Enter;
- after opening the PowerShell window, enter the command Get-AppXPackage * WindowsStore * -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$ ($ _. InstallLocation) AppXManifest.xml”} and press Enter;
- as soon as the command is completed, restart the computer;
- open the Microsoft Store and check if it works correctly.
Some users running the above command stumble upon the following errors:
- 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.
Such errors occur due to the absence or malfunction of the Microsoft Store AppX package installer. If you encounter one of these errors, then you need to install this installer. Unfortunately, this cannot be done from the official Microsoft website. However, there are a number of sites where you can find it. Here is one of them:
Go to this site and enter the following link in the search box:
Given that the Microsoft Store AppX Package Installer relies on the .Net Framework, .Net Runtime, and Visual Studios C ++ libraries, you will see them in the list on the site. Download all these libraries for the required bit depth (x86 or x64). Once the download is complete, manually install each downloaded package. If you see the error Deployment failed with HRESULT: 0x80073D02, then the package is already installed on your system – skip it.
After installing the .Net Framework, .Net Runtime, and Visual Studios C ++, go ahead and install the Microsoft Windows Store .appx files from the same list. Having finished with the installation, it’s time to check if everything is in place. Open PowerShell again and enter the following command in the console:
- Get-AppPackage -allusers Microsoft.WindowsStore
Notice the Dependencies and Status lines. The first lists exactly the libraries that Microsoft Store relies on and that you previously installed manually (↑). The second will indicate whether the store application is functioning normally. If the status indicates “Ok”, then congratulations on a successful reinstallation. Open the Microsoft Store and keep using it with peace of mind.