Hello DaoMaster211,
I'm John an Independent Advisor and a Windows user like you. I'll be happy to assist you today. What is your current Windows version and edition? Press Start then click Settings(Gear icon), select System then About.
Please let me know if you have tried the methods below.
**Reset the Microsoft Store cache
Press the Windows Logo Key + R to open the Run dialog box, type wsreset.exe, and then select OK.
Note:
A blank Command Prompt window will open, and after about ten seconds the window will close and Microsoft Store will open automatically.
**Check the Microsoft Store Install Service
Press the Windows Key + S and type in services.msc.
Find the Microsoft Store Install Service and double click, If the status is Running, right click it then select Restart
If Disabled, change it to Automatic, click Start and click OK.
**Reinstall the Microsoft Store app
Press Windows key + X
Click and Run Windows PowerShell(Admin)
Copy and paste the command below then hit Enter:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "_.InstallLocation)\AppXManifest.xml"}
Restart your computer
**Please try checking Greg's solution in this older thread with a similar problem if it helps.
https://answers.microsoft.com/en-us/windows/for...
Kindly let me know if this helps or if you have any further concerns.
Kind regards,
John DeV
Independent Advisor
Answer from John DeV on learn.microsoft.comVideos
Why is My Microsoft Store Not Working?
Will Reinstalling the Microsoft Store Delete My Installed Apps?
Is Reinstalling the Microsoft Store Safe?
Hello DaoMaster211,
I'm John an Independent Advisor and a Windows user like you. I'll be happy to assist you today. What is your current Windows version and edition? Press Start then click Settings(Gear icon), select System then About.
Please let me know if you have tried the methods below.
**Reset the Microsoft Store cache
Press the Windows Logo Key + R to open the Run dialog box, type wsreset.exe, and then select OK.
Note:
A blank Command Prompt window will open, and after about ten seconds the window will close and Microsoft Store will open automatically.
**Check the Microsoft Store Install Service
Press the Windows Key + S and type in services.msc.
Find the Microsoft Store Install Service and double click, If the status is Running, right click it then select Restart
If Disabled, change it to Automatic, click Start and click OK.
**Reinstall the Microsoft Store app
Press Windows key + X
Click and Run Windows PowerShell(Admin)
Copy and paste the command below then hit Enter:
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "_.InstallLocation)\AppXManifest.xml"}
Restart your computer
**Please try checking Greg's solution in this older thread with a similar problem if it helps.
https://answers.microsoft.com/en-us/windows/for...
Kindly let me know if this helps or if you have any further concerns.
Kind regards,
John DeV
Independent Advisor
Hi John Dev, i currently have windows 10 2004 version, i tried the Reset the Microsoft Store cache but it didn't work cause there is no Microsoft store in my apps and features. I tried the Check the Microsoft Store Install Service and changed it to automatic but i didn't know what to do after that so i tried clicking the Microsoft store icon but it didn't work it wont even show that its opening. I am currently trying the Reinstall the Microsoft Store app but when i have done all the steps and pressed and enter a green box indicating that its trying something appears but its stuck in the initialized stage and it wont proceed I've been waiting for 30 mins now. >. 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?
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
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!
Currently I can get it on by installing the Xbox app and it installs the the store app. I'm hoping I can do this with powershell and not needing to install the Xbox app.