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.comHello 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?
How to Reinstall Microsoft Store?
How to reinstall windows 10 microsoft store after complete uninstall using powershell - Stack Overflow
Microsoft Store is Removed. How Can I Reinstall It?
Microsoft Store reinstall powershell method
Videos
This one worked for me, just combined the commands from the other answers found here. Note: you have to use the -Allusers option with the Get-AppxPackage command since it is not installed anymore under your current user account:
Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Update: New Microsoft Store link for Windows Calculator
Here is the old MS Store link to the Windows Calculator.
Note: This will only work if you have the Windows Store app installed.
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.
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. > in the following article:
- Reinstall Microsoft Store in Windows 10/11
After downloading the Msixbundle and Appx packages, you can double-click to install them. Install the Appx (dependency packages) first, then run the Msixbundle file. If you can't install the packages interactively, you can install them using the Add-AppxPackage PowerShell command.
Option 2
Open an Admin Command Prompt and type:
- winget install 9WZDNCRFJBMP
(9WZDNCRFJBMP is the SKU ID for the Microsoft Store app.)
Option 3
- Install the Xbox app by downloading the .msi from Xbox App for Windows PC.
- Open the Xbox App.
- Open Settings.
- Click on the General settings tab (left second tab on the list)
- In the upper right of the screen, there will be a list of system bundles that are missing. Click install on all of them.
- After installing the bundles, close the Xbox app.
(Credits to dre76fixitproper for this method.)
From
Hello! My name is Mostafa; I will assist you today.
I’m sorry that you are experiencing this issue. Wait for some more time, around 30 minutes to an hour, to see if the process does not complete the try steps below:
- Run SFC
- Open the Start menu and search for "Command Prompt" or "CMD."Right-click on it and select "Run as admin.
- Type the following command and press Enter:
sfc /scannow
- Then type DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
- Wait for the scan to complete and restart your computer.
- Try running the following command in PowerShell as an administrator to reset the Microsoft Store cache and see if it helps: wsreset.exe then type same command to reinstall MS store: Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- Try manually resetting the Microsoft Store using the built-in Windows Settings.
a. Open the Windows Settings by pressing Windows Key + I.
b. Go to "Apps" > Installed apps > Microsoft store.
c. In the list of apps, locate Microsoft Store and click on it.
d. Click on "Advanced options."
e. Scroll down and click on the "Reset" button.
f. Confirm the action and wait for the process to complete.
Please let me know if the above steps did not help. Thank you.
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!
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"}
- To reinstall all built-in apps, copy and paste the following command at the PowerShell window and press the Enter key.
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"}- Restart your PC and check if the apps are working properly.
Your Sincerely
Hahn - MSFT | Microsoft Community Support Specialist
I appreciate that mistakes can be made, and please do correct me if I'm wrong, but surely as a Microsoft Community Support Specialist you should realise that this PowerShell is not correct? If you run this, you will receive the following:
This is because you have included an unnecessary space after -Register. For your second example, this should read as:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\\AppXManifest.xml"}
Running this will actually result in app deployments rather than a screen full of red stating that the file location does not exist - in this case, the only failures should come from resources that are being used by currently open apps:
Hope that helps.
Hi Albert,
Welcome to Microsoft Community.
I'm Hahn and I'm here to help you with your concern.
I'm sorry to hear that you are having trouble with your Windows 10 installation. It sounds like you have accidentally removed some essential apps and components from your system. Don't worry, I will try to help you restore them.
- Method 1: Use the Settings app to reset the Microsoft Store app. This will also reinstall the app and fix any issues with it.
- On Windows 10, navigate to Settings app > Apps > Apps & features.
- Locate the Microsoft Store entry and click on it to reveal the Advanced options link. Click the Advanced options link.
- In the Reset section, click the Reset button. This will reinstall the app and clear its data.
- Method 2: Use PowerShell to reinstall the Microsoft Store app and other built-in apps. This will register the apps again on your system and restore their functionality.
- Open PowerShell as administrator. You can do so by searching for PowerShell, right-clicking on Windows PowerShell in search results, and then clicking the Run as administrator option.
- To reinstall the Microsoft Store app only, copy and paste the following command at the PowerShell window and press the Enter key.
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"} - To reinstall all built-in apps, copy and paste the following command at the PowerShell window and press the Enter key.
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"} - Restart your PC and check if the apps are working properly.
- Method 3: Perform a repair install of Windows 10 with an in-place upgrade. This will repair broken system files while preserving your personal files, settings, and installed applications. How to perform an In-place Upgrade with Windows 10 Step-by-Step Guide - Microsoft Community
Disclaimer: Please ensure that you backup any important data, including Documents, Pictures, Videos, and more.
I hope these methods help you restore your Microsoft Store and other default apps on Windows 10. Please let me know if you have any questions or need further assistance.
Your Sincerely
Hahn - MSFT | Microsoft Community Support Specialist
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!