Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / How to Repair and Reinstall Microsoft Store on Windows 10 After Removal?

August 4, 2021 PowerShellWindows 10

How to Repair and Reinstall Microsoft Store on Windows 10 After Removal?

When uninstalling built-in modern apps, many Windows 10 users accidentally uninstall Microsoft Store as well. Most often it occurs when thoughtlessly running third-party tools or PowerShell scripts like Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online, which remove all modern UWP and APPX apps with no exceptions (see the article on how to properly uninstall built-in APPX apps in Windows 10). If the Microsoft Store is missing or malfunctioning in Windows 10, you can either reset it or repair it by following the instructions in this guide.

Contents:
  • How to Clear and Reset the Microsoft Store App in Windows 10?
  • Restoring Microsoft Store App on Windows 10 with PowerShell
  • How to Manually Install/Add Microsoft Store App on Windows 10 ?

How to Clear and Reset the Microsoft Store App in Windows 10?

If you cannot run the Microsoft Store app on Windows 10 or it works with errors, you can try to reset it to default settings and delete any saved/cached data:

  1. Open Settings -> Apps -> Apps & features;
  2. Find Microsoft Store and click Advanced options;Microsoft store app installed on windows 10
  3. In the next window, click Reset and confirm the deletion of the previous settings; reset Microsoft store app

You can also reset Microsoft Store with the command prompt using the command below:

WSReset.exe

Restoring Microsoft Store App on Windows 10 with PowerShell

When you remove system APPX apps using the Remove-AppxPackage PowerShell cmdlet, Windows doesn’t actually remove the app from the disk but just unregisters them. You can try to re-register the WindowsStore app using its XML manifest file.

  1. Make sure that app files are still stored on the local disk:
    Get-ChildItem 'C:\Program Files\WindowsApps'|where-object {$_.Name -like "*WindowsStore*"}
  2. In my example, the directories with the names Microsoft.WindowsStore _* remained in place; check for Microsoft store files on local drive
  3. Register WindowsStore app in Windows 10 using the AppXManifest.xml with the command:
    Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
    Tip. If you see an access denied error when running Add-AppxPackage, try to grant owner privileges on C:\Program Files\WindowsApps\ for your account using the icacls tool.
  4. Make sure that the Microsoft Store icon has appeared in the Start menu.

How to Manually Install/Add Microsoft Store App on Windows 10 ?

If there is no folder with Windows Store files in C:\Program Files\WindowsApps, you will see errors like these when trying to register the app using Add-AppxPackage:

Add-AppxPackage : Cannot find path.
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
Cannot register the Microsoft.WindowsStore package because there was a merge failure.

Then you can download the WindowsStore files and all their dependencies from the Microsoft website and install the APPX applications manually.

This method is suitable for those users who have originally removed modern applications from the Windows image, as well as owners of Windows 10 LTSC Enterprise, which does not have any preinstalled UWP applications at all..
  1. Open the elevated PowerShell console;
  2. Run the command below to make sure that the WindowsStore app is not installed (removed):
    Get-AppXPackage -AllUsers |where-object {$_.Name -like "*WindowsStore*"}
    Microsoft store app missing on windows 10
  3. Go to https://store.rg-adguard.net/ (the website allows to get direct links and download APPX installation files from Microsoft website), paste the Microsoft Store link to the search field (https://www.microsoft.com/store/productId/9wzdncrfjbmp) and select Retail in the dropdown list;
  4. To make your Store app work correctly, you must download six APPX files for your Windows version (x64 or x86): Microsoft.NET.Native.Framework.1.7, Microsoft.NET.Native.Framework.2.2, Microsoft.NET.Native.Runtime.1.7, Microsoft.NET.Native.Runtime.2.2, Microsoft.VCLibs, Microsoft.UI.Xaml.2.4. download Microsoft store installation appx files
  5. I’ve got the following packages list:
    Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe.Appx
    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.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe.Appx
    Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe.Appx
    Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe.Appx
  6. In the same way, download the Microsoft.WindowsStore install file with the appxbundle extension (for example, Microsoft.WindowsStore_12104.1001.113.0_neutral_~_8wekyb3d8bbwe.appxbundle). If the downloaded file does not have an extension, add the .appxbundle extension manually;
  7. Copy all packages to one directory and install them using the PowerShell script below:
    $Path = 'C:\PS\Store'
    Get-Childitem $Path -filter *.appx| %{Add-AppxPackage -Path $_.FullName}
    Get-Childitem $Path -filter *.appxbundle | %{Add-AppxPackage -Path $_.FullName}
    install the microsoft store appx on windows 10
    If you see any dependency errors during Microsoft.WindowsStore installation, download, and install the specified APPX packages manually.
  8. Make sure that Windows Store has been installed and its icon appeared in the Start menu. microsoft store app appeared on windows 10 start menu

If you have a corporate VLSC (Software Assurance) subscription, you can download Windows 10 Inbox Apps ISO image from the Microsoft website. The offline image contains all built-in apps, including the Microsoft Store.

download Windows 10 Inbox Apps ISO image VLSC

To install Windows Store from the ISO image, you can use the command below:

Add-AppxProvisionedPackage -Online -PackagePath "D:\x86fre\Microsoft.WindowsStore_8wekyb3d8bbwe.appxbundle" –LicensePath "D:\x86fre\Microsoft.WindowsStore_8wekyb3d8bbwe.xml"

5 comments
4
Facebook Twitter Google + Pinterest
previous post
Changing Time Zone Settings in Windows via CMD, PowerShell, and GPO
next post
Kill a Windows Service That Stucks on Stopping or Starting

Related Reading

Configuring Event Viewer Log Size on Windows

May 24, 2023

How to Detect Who Changed the File/Folder NTFS...

May 24, 2023

How to Create, Change, and Remove Local Users...

May 17, 2023

Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

May 16, 2023

View Success and Failed Local Logon Attempts on...

May 2, 2023

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Configuring Event Viewer Log Size on Windows

    May 24, 2023
  • How to Detect Who Changed the File/Folder NTFS Permissions on Windows?

    May 24, 2023
  • Enable Single Sign-On (SSO) Authentication on RDS Windows Server

    May 23, 2023
  • Allow Non-admin Users RDP Access to Windows Server

    May 22, 2023
  • How to Create, Change, and Remove Local Users or Groups with PowerShell?

    May 17, 2023
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

    May 16, 2023
  • View Success and Failed Local Logon Attempts on Windows

    May 2, 2023
  • Fix: “Something Went Wrong” Error When Installing Teams

    May 2, 2023
  • Querying Windows Event Logs with PowerShell

    May 2, 2023
  • Configure Windows LAPS (Local Administrator Passwords Solution) in AD

    April 25, 2023

Follow us

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Configuring Port Forwarding in Windows
  • Installing RSAT Administration Tools on Windows 10 and 11
  • Manage Windows Updates with PSWindowsUpdate PowerShell Module
  • Start Menu or Taskbar Search Not Working in Windows 10/11
  • Get-ADUser: Find Active Directory User Info with PowerShell
  • Adding Drivers into VMWare ESXi Installation Image
  • How to Hide Installed Programs in Windows 10 and 11?
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top