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.
Thank you.
You have a few options here.
- See if you have the Xbox app. If so, launch it, go through the initial set up or whatnot. Once all the way in, it might provide you a list of items with a yellow warning indicating issue with them. It might also provide you an installation option to install it. See if Store app is one of them. If so, you should be able to install it from there.
- Go to Start > All apps, locate Powershell, right click and "run as admin". Run this command:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "_.InstallLocation)\AppXManifest.xml"}
- If the computer was just set up out of box, you can also consider a factory reset to start over. Hold down Shift key while you choose Windows restart, then go to Troubleshoot > REset this PC.
- Repair install is another option. To perform a repair istallation of Windows 11 using the Windows Media Creation Tool:
The following steps should be done on a working Windows computer:
Download the Windows Media Creation Tool from Microsoft's official website. https://www.microsoft.com/software-download/win... click on the "download now" button under "Create Windows 11 Installation Media"
Run the tool and select "Create installation media for another PC."
Choose "USB flash drive" as the media to use for the installation and select "Next."
Connect a USB flash drive with at least 8 GB of free space to your computer.
Select the USB flash drive you want to use, and then select "Next."
The tool will then download the required files and create the installation media.
=====================================================
Now these steps will be done on your problematic computer:
Go to the USB drive via File Explorer, locate and run the Setup.exe file. Ideally, you should disconnect all USB and Bluetooth devices other than mouse and keyboard. Disable any 3rd party antivirus program. Disconnect the internet.
Once you run the Setup.exe file, choose the Install option, and the choose the option that keeps your files and apps.
Hello, this is Emily.
Is this a brand new computer (no former user) or a refurbished/used computer? Just want to make sure if it might be due to group policy issue, especially if previous owner is a business.
Also, can you please type winver in the search on the taskbar and hit enter, when launched, share a screenshot please?
Thanks!
Videos
Will Reinstalling the Microsoft Store Delete My Installed Apps?
Why is My Microsoft Store Not Working?
Is Reinstalling the Microsoft Store Safe?
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
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