How to reinstall Microsoft Store

ryosk25 456 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.
6,745 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,756 questions
1 vote

4 answers

Sort by: Most helpful
  1. ForTheBroken 36 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!

    3 people found this answer helpful.

  2. Limitless Technology 37,646 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--

    1 person found this answer helpful.

  3. Reza-Ameri 14,831 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


  4. Kapil Arya 5,906 Reputation points MVP
    2022-06-17T14:56:18.247+00:00

    Hello,

    I believe once you completely uninstall Store app, then you can't reinstall it via PowerShell.

    You need to perform repair upgrade to get Store app back:

    https://www.kapilarya.com/how-to-repair-windows-10-using-in-place-upgrade

    Let me know if this helps!

    Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.