Hello. Today I had my computer formatted and installed Windows 10 Pro. The version is 10.0.10586. The Microsoft Store didn't open, I got a screen saying "try that again". I tried to solve this problem, I tried a few solutions and then I typed the following command into the command line and hit enter:
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
After doing so, the Microsoft Store was removed. I tried to install it again but I couldn't. Help me.
Hi everyone. I FOUND A SOLUTION THAT ACTUALLY WORKS:
Even though my windows microsoft store app was completely missing, my "Xbox" app was still available. Simply launch the xbox app and follow the steps until you get to the dashboard. Once in the dashboard, you'll see any number of yellow notices stating that you're system is missing the following applications in order to run/function properly. And right next to each item, it has an install button. YES THIS INCLUDES THE WINDOWS STORE! Worked perfectly for me.
YOU'RE WELCOME!
For anyone looking for a resolution in the future that doesn't lead them in circles here is how I repaired this with the appx package for the MS Store.
I found https://github.com/kkkgo/LTSC-Add-MicrosoftStore which has the .appxbundle file that is saved in gitbut for those that want to install the MS Store on PCs running Windows 10 LTSC edition. This installer works with all versions of Windows 10 as it is just a generic MS Store installer package.
Run the following as admin in Powershell to remove the currently installed apps. You don't have to remove all of these if some of them are still working but if you are here I doubt any of them are still working. (I was able to fix the MS Store with these but the Xbox Identity Provider package still failed to install, but that is probably only because I am missing other components for it. This doesn't really matter to me since I was repairing a company PC that does not need that app.)
Get-AppxPackage -Name "Microsoft.WindowsStore" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.DesktopAppInstaller" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.StorePurchaseApp" | Remove-AppxPackage
Get-AppxPackage -Name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage
Download and extract the LTSC-Add-MicrosoftStore-2019 folder from https://github.com/kkkgo/LTSC-Add-MicrosoftStore/archive/refs/tags/2019.zip.
With any possibly corrupted remnants of the MS Store components removed, you can now reinstall everything.
Run the "add-store.cmd" file in the "LTSC-Add-MicrosoftStore-2019" folder as administrator.
MS Store reinstalled.
Run any updates in the MS Store to get it upgraded to the latest version.
Videos
If you're having issues with Microsoft Store app, we just released a new video that will walk you through some things to try including how to reinstall the Microsoft Store app.
How to troubleshoot the Microsoft Store app
Follow along with the video:
Terminate or Reset the app
- Press Windows logo key + i
- Select Apps
- Select Microsoft Store, then select Advanced options
- Select Terminate
- If that doesn't work, select
Reset Use the troubleshooter
- Search for Troubleshoot settings and select Open
- Select Windows Store apps
- Select Run the troubleshooter
Reinstall the app
- Press Windows logo key + x
- Select Windows PowerShell (Admin)
- Select Yes
- Copy and paste the command: Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "
_.InstallLocation)\AppXManifest.xml"}
- Press Enter
- Restart your computer
Here are some additional resources for you.
Fix problems with apps from Microsoft Store
Microsoft Store doesn't launch Trouble finding
Microsoft Store in Windows 10
You can not download this but you can reinstall -
Type Powershell in Windows Start Search box
Right click on Powershell > Run As Administrator
Copy the below and paste into Powershell and Enter
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "_.InstallLocation)\AppXManifest.xml"}
Once finished, reboot your computer
Look for updates in Store and update
Open Start, type: powershell
Right click PowerShell
Click Run as administrator
At the command prompt, type the following then hit Enter:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Exit Powershell then restart.
Check if you can open the Store.
If that does not work, you can try performing a repair upgrade:
http://answers.microsoft.com/en-us/insider/wiki...
Hello,
Try resetting Store app. Run following command in administrative Windows PowerShell:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Let us know if this helps!
So, the Windows Store is now back with me. As far as there was no complete solution in any single answer, here is my solution. Thanks for all who participated.
What you'll need
The installed Windows 10 with apps (further it will be references as "good windows"). You may use "friends computer". I used the VirtualBox virtual machine and an appropriate setup image. There is no need for license key for this: Win10 can be setup without key and activation, it'll be enough for this solution.
Step1
Take the ownership of "C:\Program Files\WindowsApps" folder as adviced here.
Step2
Open WindowsApps folder. Check, if there are next folders:
- Microsoft.VCLibs.140.00_14.0.22810.0_x64__8wekyb3d8bbwe
- Microsoft.VCLibs.140.00_14.0.22810.0_x86__8wekyb3d8bbwe
- Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x64__8wekyb3d8bbwe
- Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe
- Microsoft.WindowsStore_2015.7.1.0_x64__8wekyb3d8bbwe
- Microsoft.WindowsStore_2015.701.14.0_neutral_~_8wekyb3d8bbwe
If some of them are not presented there - copy missing ones from good windows and copy here.
Note1. For those who are in italic: I'm not sure that they are required, I processed all of them, may be they are not required.
Note2. For WindowsStore folders there may be another version, as it can be seen in @Fase answer.
Step 3
Open Windows Powershell.
Register every folder (one by one, except the last one!) in the order they are presented in above list with the next command:
Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\*FOLDER*\AppxManifest.xml"
Example:
Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.7.1.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
You'll be close to success if the command with WindowsStore will give no errors. Others may return errors if they were allready registered.
Step 4
If Step 3 was successfull, you'll be able to find (Press WindowsKey then type Store) the Store application in the Start Menu.
Try to start it. If it will work - congratulations. If it will be shown for a while and then closed - see Step 5.
Step 5
Grant permissions for "ALL APPLICATION PACKAGES" account to WindowsApps folder as adviced here.
That's all Folks!
I was finally able to fix this. It's actually quite funny. I upgraded Windows 10 to Windows 10.
- Insert the disc or create and mount the iso
- You can download it here
- I was able to upgrade to Windows 10 from other OS's using this tool directly, but that did not work from 10 to 10
- Chose "Download and install updates (recommended)"
- Accepted agreement
- Chose "Keep Windows settings, personal files, and apps"
After the "upgrade" you'll have the Store and all other default apps back
It reverted the two windows updates I had received but then they downloaded and installed again just fine. I imagine this would get more risky as more updates come out in the future.
After all of that was done, I ran these commands in an admin PowerShell to strip off everything but the Store and Calculator:
Get-AppxPackage -AllUsers | where-object {$_.name -notlike "*Microsoft.WindowsStore*"} | where-object {$_.name -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxPackage
Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike "*Microsoft.WindowsStore*"} | where-object {$_.packagename -notlike "*Microsoft.WindowsCalculator*"} | Remove-AppxProvisionedPackage -online
Back when my organization moved to Windows 10, someone in IT ran a PowerShell script to uninstall all the bundled Microsoft Store apps (Candy Crush, etc). The script was run as a local admin on all machines after initially installing Windows 10.
All was fine and good since everything is done on a remote session anyway.
Fast forward a couple years...
I have one machine from this time which has user data on the local machine rather than on the remote desktop (c-level manager) but I noticed that all of the seemingly built-in apps (Windows Calculator) are missing and traced it back to running this script. The problem is, the powershell script also uninstalls the Microsoft Store App and the user wants to install an app from there.
Short of re-imaging the machine, is there a way to reinstall the Microsoft Store app? The troubleshooters from MS TechNet don't seem to work for this situation.
This is the PowerShell script that was used to remove it and all of the store apps:
Get-AppxPackage -AllUsers | Remove-AppxPackage Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online Get-AppXPackage | Remove-AppxPackage
Tl;dr: How does one install the Microsoft Store if it's been previously removed via PowerShell?