Easiest way to reinstall, that no one has mentioned. BTW, found this just now due to my struggle of getting it back and not wanting to factory reset in hopes it brings it back. Follow these steps: if you can manage to get the Xbox app installed onto your PC, open the Xbox app, click on your GAMERTAG/NAME, go to SETTINGS, go to General. There you will see a list of dependency apps that make the Xbox app function properly. Among the list is Microsoft Store, install. Answer from RankedDarkness on reddit.com
🌐
Reddit
reddit.com › r/techsupport › microsoft store is removed. how can i reinstall it?
r/techsupport on Reddit: Microsoft Store is Removed. How Can I Reinstall It?
February 14, 2023 -

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.

Top answer
1 of 3
9
Easiest way to reinstall, that no one has mentioned. BTW, found this just now due to my struggle of getting it back and not wanting to factory reset in hopes it brings it back. Follow these steps: if you can manage to get the Xbox app installed onto your PC, open the Xbox app, click on your GAMERTAG/NAME, go to SETTINGS, go to General. There you will see a list of dependency apps that make the Xbox app function properly. Among the list is Microsoft Store, install.
2 of 3
3
Press the Windows key + R to open the Run dialog box. Type "cmd" and press Ctrl + Shift + Enter to open an elevated Command Prompt. In the Command Prompt, type the following command and press Enter: Get-AppxPackage WindowsStore -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} This command will reinstall the Microsoft Store app on your system. Once the command has completed, close the Command Prompt and try opening the Microsoft Store again. If the store still won't open, try running the Windows Store Apps Troubleshooter. To do this, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Store Apps > Run the troubleshooter. If the troubleshooter doesn't resolve the issue, you can try resetting the Microsoft Store app. To do this, go to Settings > Apps > Apps & features > Microsoft Store > Advanced options > Reset. If none of these solutions work, you can try reinstalling Windows 10 using the Media Creation Tool or a Windows 10 installation disk. Make sure to back up your important files and data before doing so. Note: It's important to be careful when using PowerShell commands, as they can have unintended consequences if entered incorrectly. Make sure to double-check the command before entering it into the Command Prompt.
Top answer
1 of 5
17

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!

2 of 5
9

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.

🌐
Winhelponline
winhelponline.com › blog › restore-windows-store-windows-10-uninstall-with-powershell
Reinstall Microsoft Store in Windows 10 after uninstalling it with PowerShell » Winhelponline
October 21, 2022 - The 2nd method should be used if the Microsoft Store provisioned app package folder doesn’t exist. To restore or reinstall Windows Store, start PowerShell as Administrator. Click Start, and type Powershell. In the search results, right-click “PowerShell” and click Run as administrator. In the PowerShell window, type the following command and press ENTER:
🌐
Windows 10 Forums
tenforums.com › tutorials › 8239-re-register-microsoft-store-app-windows-10-a-28.html
Re-register Microsoft Store app in Windows 10 - Windows 10 Help Forums
I used it an it works. Use “wsreset -i” (elevated) command to reinstall and Reset Microsoft Store if it is missing from within Windows. Full thread here: https://answers.microsoft.com/en-us/...2-8a830998719f The Store will download and reinstall itself after a restart.
🌐
Eleven Forum
elevenforum.com › windows support forums › tutorials
Uninstall or Reinstall Microsoft Store app in Windows 10 and Windows 11 | Windows 11 Forum
December 23, 2022 - Try these troubleshooting steps if Microsoft Store does not launch in Windows 10. ... Option Seven: Reinstall Microsoft Store app for Current User using EXE file EXAMPLE: Microsoft Store app ... You must be signed in as an administrator to use this option. 1 Open Windows Terminal (Admin), and select Windows PowerShell. 2 Copy and paste the command below into Windows Terminal (Admin), and press Enter.
🌐
Process.st
process.st › home › how to › how to reinstall microsoft store
How To Reinstall Microsoft Store
October 15, 2023 - Copy and paste this into the PowerShell window: Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"} Wait for PowerShell to finish the reinstallation ...
🌐
Into Windows
intowindows.com › home › windows 10 › how to reinstall microsoft store in windows 10/11
How To Reinstall Microsoft Store In Windows 10/11
July 8, 2024 - I followed the instructions to the letter, and this is the result when I executed the command line in PowerShell (PS): PS C:\WINDOWS\system32> Add-AppxPackage -register C:\Program Files\WindowsApps\microsoft.windowsstore_11904.1001.1.0_x64_...
Find elsewhere
🌐
WindowsLoop
windowsloop.com › home › how to › reinstall microsoft store: a step-by-step comprehensive guide
Reinstall Microsoft Store: A Step-By-Step Comprehensive Guide
September 19, 2023 - Run the below command in the PowerShell tab in Terminal. Close the Terminal window. With that, you’ve reinstalled Microsoft Store using PowerShell. You need administrative privileges to reinstall or reset the store app using PowerShell. So, right-click on the Start icon on the Taskbar and select the “Terminal (Admin)” option. Windows 10 ...
🌐
Software Testing Help
softwaretestinghelp.com › home › microsoft › how to reinstall microsoft store in windows 10 [5 methods]
How to Reinstall Microsoft Store in Windows 10 [5 Methods]
April 1, 2025 - Windows has two command-line applications, which are Command Prompt and Windows PowerShell. Command Prompt allows users to execute commands on various files and retrieve information. In contrast, PowerShell is an advanced version of Command Prompt that enables users to make changes in the system files and registries using commands. So, users can directly reinstall Microsoft Store on their system by passing a command in Windows PowerShell.
🌐
MiniTool
minitool.com › home › news › can i reinstall microsoft store on my windows?
Learn the Way to Reinstall Microsoft Store on Windows
November 29, 2024 - Here, you need to replace “xxxxx” with the copied content you have got in step 7. In this post, it should be Add-AppxPackage -register “C:\Program Files\WindowsApps\Microsoft.WindowsStore_12011.1001.1.0_x64__8wekyb3d8bbwe\AppxManifest.xml” –DisableDevelopmentMode. You should wait for a while until the system reinstalls Windows Store on your Windows computer. Reboot your computer. You can also use this method to reinstall any other applications that are pre-installed on your Windows 10 computer.
🌐
Windows Report
windowsreport.com › how to › how to reinstall microsoft store: full guide
How to Reinstall Microsoft Store: Full Guide
December 2, 2022 - A fast and secure way to reinstall ... in it, Microsoft Store will be automatically reinstalled. 1. Press Windows + I keys simultaneously to open Settings....
🌐
Stack Overflow
stackoverflow.com › questions › 75264752 › how-to-reinstall-windows-10-microsoft-store-after-complete-uninstall-using-power
How to reinstall windows 10 microsoft store after complete uninstall using powershell - Stack Overflow
Silly now I have been stuck for two days and now I have found the answer this command Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_.InstallLocation)\appxmanifest.xml” -DisableDevelopmentMode} didnt work because my app installer wasnt working I had to reset it and after that the command worked which installed most apps but without microsoft store, but now the appx file from adguard worked and the problem was fixed
Top answer
1 of 1
39

Hi and thanks for reaching out. My name is Bernard an Independent Advisor and a Windows fan like you. I'll be happy to help you out today.

Actually I have the same problem and by following the steps below fixed my issue, I know some of these steps already done, you have just skip it if you think it will have the same result.

Method 1. Repair Windows Store:

  1. Go to settings> Update and Security> troubleshoot > Additional troubleshooter> Then click Windows Store apps
  2. Temporarily Disable the Anti-virus (If you have third party anti viru)
  3. Run Powershell
  4. On Powershell(admin), copy and paste the command below:

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Method 2. repair Windows Store and update components

Open Powershell with Admin or CMD with Admin (Press Windows key + X then click Windows Powershell(Admin))

Copy each line of command to Powershell then press enter (one line at a time)

net stop bits

net stop wuauserv

net stop appidsvc

net stop cryptsvc

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"

rmdir %systemroot%\SoftwareDistribution /S /Q

rmdir %systemroot%\system32\catroot2 /S /Q

regsvr32.exe /s atl.dll

regsvr32.exe /s urlmon.dll

regsvr32.exe /s mshtml.dll

netsh winsock reset

netsh winsock reset proxy

net start bits

net start wuauserv

net start appidsvc

net start cryptsvc

-Once done restart the device and check

If none will work from the above solution I suggest to do an in-place upgrade wherein it will upgrade the device to the latest version and repair all issues without deleting any files.

Note: before doing this make sure to create a restore point: https://support.microsoft.com/en-hk/help/402753...

  1. go to this link: https://www.microsoft.com/en-us/software-downlo...
  2. Select Download tool, and select Run. You need to be an administrator to run this tool.
  3. On the License terms page, if you accept the license terms, select Accept.
  4. On the What do you want to do? page, select Upgrade this PC now, and then select Next.
  5. After downloading and installing, it should fix the issue.

Reference: https://www.microsoft.com/en-us/software-downlo...

Note: if you receive error: “This Pc can’t be upgrade, follow the steps below”

Method 1. Go to C:$WINDOWS.~BT\Sources\Panther then delete the file name compatscancache.dat

Then try again or reboot the PC first then try again.

You might not see the folder as it is hidden, make sure to show hidden files first.

Let me know how does it goes and I hope that helps.

Bernard

Independent Advisor

🌐
The Geek Page
thegeekpage.com › reinstall-microsoft-store-app
How to Reinstall Microsoft Store App on Windows 10 / 11
December 14, 2023 - Step 4: Now, execute the below command and press Enter: Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} This will install or reinstall the Microsoft ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 3851770 › how-do-i-reinstall-microsoft-store
How do I reinstall Microsoft store? - Microsoft Q&A
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. **Please try to run SFC and DISM to check for any system errors and corrupted files. https://support.microsoft.com/en-us/windows/usi... ... Copy and paste the command below then press Enter.
Top answer
1 of 12
21

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!

2 of 12
9

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
🌐
Reddit
reddit.com › r/sysadmin › how do you reinstall the microsoft store app if it was removed via powershell on windows 10 pro?
r/sysadmin on Reddit: How do you reinstall the Microsoft Store app if it was removed via PowerShell on Windows 10 Pro?
January 7, 2021 -

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?