How to reinstall Microsoft Store

ryosk25 546 Reputation points
2022-06-16T07:11:43.353+00:00

Since I manage Windows 10 and do not use Microsoft Store applications in my business, I deleted them all with the following command.

Get-AppxPackage | findstr PackageFullName
Remove-AppxPackage -Package "XXXXXXX"
Get-ProvisionedAppPackage -Online | findstr PackageName
Remove-ProvisionedAppxPackage -Online -PackageName "XXXXXXXX"

However, since the end user requested to use the store application, I would like to reinstall it.
Could you please tell me how to reinstall the applications available from the Microsoft Store or Microsoft Store?

Thank you.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,733 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,949 questions
{count} votes

10 answers

Sort by: Most helpful
  1. ForTheBroken 286 Reputation points
    2022-12-22T20:13:28.713+00:00

    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!

    16 people found this answer helpful.

  2. PauloT-1943 35 Reputation points
    2023-10-16T23:19:41.18+00:00

    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.

    7 people found this answer helpful.

  3. Limitless Technology 39,686 Reputation points
    2022-06-16T15:25:30.003+00:00

    Hi Rkppt-4902,

    You should be able to reinstall the store by following these steps:

    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.


    --If the reply is helpful, please Upvote and Accept as answer--

    3 people found this answer helpful.

  4. Reza-Ameri 16,986 Reputation points
    2022-06-16T14:51:12.937+00:00

    Try run the following command:

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

    Try run the following in the Command prompt:
    wsreset.exe

    2 people found this answer helpful.

  5. Pankaj Handa 10 Reputation points
    2023-06-14T07:32:13.63+00:00

    My Reply to : ForTheBroken

    {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!}

    THE DASHBOARD IS IN XBOX APP>SETTINGS>GENERAL/ACCOUNT>INSTALL MICROSOFT STORE

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.