Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Reinstall Microsoft Store in Windows after Uninstalling it with PowerShell

September 17, 2023
in Blog, Windows 10, Windows 11
0
ADVERTISEMENT

Table of Contents

Note Note: This article applies to Windows 10 and Windows 11.

Windows 10 and 11 come with many built-in Store apps that may not be useful to you. As you may have known, PowerShell allows you to uninstall individual apps or all apps using a single command.

If you had used the following command to uninstall all bundled apps in Windows 10 or 11, you should have noticed that the much useful “Windows Store” app (now known as “Microsoft Store”) is one of those removed apps.

Get-AppXPackage | Remove-AppxPackage

Additionally, you may get the error “You’ll need a new app to open this ms-windows-store link “
when opening certain Store apps or running wsreset.exe:

qOebSdpC4YvJt3KNaPDodtfPSvL0hnImepcZEQVBxxXDqsC61oHa943Cp3kB

Lately, Windows 11 users have been saying that the Microsoft Store app is missing or non-functional after resetting Windows 11. Without the “Microsoft Store” app, you won’t be able to install or update Store apps.

This post tells you how to get back the Microsoft Store app if it’s missing after a reset or if you’ve uninstalled it accidentally using PowerShell.

Reinstall the Microsoft Store app

Here is how to reinstall Microsoft Store. The 1st method applies if the Microsoft Store app package folder is intact. The 2nd method should be used if the Microsoft Store provisioned app package folder doesn’t exist.

Method 1: Using PowerShell

1️⃣ To restore or reinstall Windows Store, let’s start PowerShell as Administrator by search powershell, right click then select Run as administrator.

2️⃣ In the PowerShell window, type the following command to check if Microsoft Store app still available in your system at C:\Program Files\WindowsApps.

PS C:\> Get-AppxPackage Microsoft.WindowsStore

Name                   : Microsoft.WindowsStore
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture           : X64
Version                : 22307.1401.7.0
PackageFullName        : Microsoft.WindowsStore_22307.1401.7.0_x64__8wekyb3d8bbwe
InstallLocation        : C:\Program Files\WindowsApps\Microsoft.WindowsStore_22307.1401.7.0_x64__8wekyb3d8bbwe
IsFramework            : False
PackageFamilyName      : Microsoft.WindowsStore_8wekyb3d8bbwe
PublisherId            : 8wekyb3d8bbwe
PackageUserInformation : {S-1-5-18 [S-1-5-18]: Staged}
Status                 : Ok

3️⃣ If the package still available, you can continue to reinstall it using below command:

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

Additionally, if you want to reinstall or restore all the built-in Windows apps (including Microsoft Store), use this command to install them at once.

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

However, for some users, the above commands may throw one of the following errors, and Store does not get reinstated:

Add-AppxPackage : Cannot find path ‘C:\AppXManifest.xml’ because it does not exist.
At line:1 char:61
+ … | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.I …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\AppXManifest.xml:String) [Add-AppxPackage], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
error 0x80070057: While processing the request, the system failed to register the windows.applyDataExtension extension …

error 0x80070057: Cannot register the request because the following error was encountered during the registration of the windows.applyDataExtension extension: The parameter is incorrect.

An internal error occurred with error 0x80070002.

Package could not be registered. Merge Failure : error 0x80070003 : Cannot register the Microsoft.WindowsStore_2015.23.23.0_x64__8wekyb3d8bbwe package because there was a merge failure.

The above errors if the Microsoft Store package folder is missing (or incomplete) from the C:\Program Files\WindowsApps folder. You’ll need to download the Microsoft Store appx bundle/package from Microsoft and install it in those cases. The instructions are given in Method 2 below.

Method 2: Download the Microsoft Store installer (Appx package)

You can download the Microsoft Store app and its dependencies in the form of .appx and .msixBundle package or installers from the official Microsoft’s servers. Follow these steps to do so:

1️⃣ Visit the following website https://store.rg-adguard.net. This third-party site can generate download links (to app installers) for the chosen app. These are direct download links pointing to the official Microsoft servers.

2️⃣ On the above page, paste the following link in the URL text box. The following is the Microsoft Store app’s official link.

https://www.microsoft.com/en-us/p/microsoft-store/9wzdncrfjbmp

3️⃣ Select Retail (or the appropriate branch accordingly), and click the generate button

Note Note: You must use Google Chrome or Firefox browser to access this site.
fr2hiB0uJjZoVRa10hXa3mqeldVYPF1OKzUF0U3NNkDNLq1BcYtHAGGodBOX

4️⃣ As the Microsoft Store app depends on .NET Framework, .NET Runtime, Microsoft.UI.Xaml, and VC Libs, download the latest packages of each item listed. Be sure to download the correct ones matching the bitness (x86 vs. x64) of your Windows.

5️⃣ Now, you would have downloaded these five packages. The version numbers will vary according to the build/version of the Microsoft Store app.

Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx
Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe.Appx
Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe.Appx
Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe.Appx
Microsoft.WindowsStore_22207.1401.1.0_neutral___8wekyb3d8bbwe.Msixbundle
IYkbR2DsFpht1Vr6gRJkd8xTMZPdgWxPFjgeQrc6gpUYH1I597YYKN6LuMpE

6️⃣ Run each .appx installer first, as they’re the dependencies of the Microsoft Store.

1d2H0DyUoHYDZbec5eyGQF2b0dpVIDZ1Ze6MKru5FWBLd1DpnYTTtwJxBW1E

If double-clicking on an Appx or Msixbundle file doesn’t start the installer, as an alternative, you can use PowerShell to install each package. The PowerShell command-line syntax is below:

Add-AppxPackage -Path "filename.appx"

For example, below commands will install all downloaded packages at once.

Set-Location "$env:userprofile\downloads"
Get-ChildItem -Include *.appx -Recurse -File | foreach {Add-AppxPackage -Path $_.Name}

If you get the error Deployment failed with HRESULT: 0x80073D02, skip the package. It’s most likely because the package or dependency is already installed and currently in use by some other app. Also, you can run the following command to check if an app package is already installed or not:

Get-AppxPackage | Sort-Object PackageFullName | select PackageFullName | Out-GridView

If the package (of the same version) is already installed, you don’t have to install it again.

oyGdCPzOxxDgLUz1XMb8uFBzlKfdDkbIsPvV2Z2cddp5Q786GECFHjTdVvCf

7️⃣ Finally, run the Microsoft Store installer (.msixbundle) file and complete the process.

KeFeDxCVFjg2rEyQ4yuET9gMRyzTPvs5HBnoNOFKc3oqDIgtl1hL5u1ASoY3

That’s it. The Microsoft Store app is now reinstated. Open Microsoft Store → Settings to check its version.

sOkNleo9npaUx6zoqduTZrOM9bcepCLJ5OyfNXnselprqyxO1RBck5GoV9kP

Method 3: Reinstalling Microsoft Store using PowerShell script

If you’re a PowerShell nerd like us. You can try the below one-line command to do it automatically. The PowerShell script will:

  • Create a temporary folder then download all required packages (.appx, .Msixbundle).
  • Install dependency packages and Microsoft Store using Add-AppxPackage cmdlet.
irm bonguides.com/pw/installmsstore | iex
jSs7nr12jnK5MjbI0v6I1E95aCHgwnzFDBbBzNpacV2CoYw7kLIqedDbaxds

Verify the Microsoft Store app info

After installing the Microsoft Store appx package, it would have restored the following folders under the C:\Program Files\WindowsApps folder:

PS C:\> Get-ChildItem "C:\Program Files\WindowsApps\" | select Name

Name
----
AdobeNotificationClient_3.0.1.1_x86__enpm4xejd91yc
AppUp.IntelGraphicsExperience_1.100.5185.0_neutral_split.scale-100_8j3eq9eme6ctt
AppUp.IntelGraphicsExperience_1.100.5185.0_neutral_split.scale-125_8j3eq9eme6ctt
AppUp.IntelGraphicsExperience_1.100.5185.0_neutral_~_8j3eq9eme6ctt
AppUp.IntelGraphicsExperience_1.100.5185.0_x64__8j3eq9eme6ctt
Clipchamp.Clipchamp_2.2.8.0_neutral_split.scale-100_yxz26nhyzhsrt
Clipchamp.Clipchamp_2.2.8.0_neutral__yxz26nhyzhsrt
Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
Deleted
DeletedAllUserPackages
Merged
...

Optionally, to verify the Microsoft Store app info, open the PowerShell (administrator) window and run the following command. You’ll see that the Microsoft Store app is fully installed along with its dependencies.

Get-AppxPackage Microsoft.WindowsStore
Name              : Microsoft.WindowsStore
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 22307.1401.7.0
PackageFullName   : Microsoft.WindowsStore_22307.1401.7.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.WindowsStore_22307.1401.7.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.WindowsStore_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe,
                    Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe,
                    Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

This App Package is not Supported for Installation by App Installer Because It Uses Certain Restricted Capabilities

Next Post

How to Fix a Newer Version of OneDrive is Installed in Windows 10/11

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory