How to Remove and Reinstall Microsoft Store on Windows 11


Is the Microsoft Store acting strangely? Give it a quick reinstall (or remove it altogether) with this guide for Windows 11.

The Microsoft Store makes it easy to download and manage apps on your Windows computer. However, if the app store starts to act up, you can reinstall it to fix the problems triggered due to file corruption, temporally glitches and bad updates.

That said, unlike other programs, you can’t uninstall Microsoft Store from the Settings app or Control Panel. Instead, you’ll need to use PowerShell to remove the app on Windows. You, however, have multiple options to reinstall Microsoft Store.

How to Uninstall the Microsoft Store Using Windows PowerShell

uninstall microsoft store powershell

You can’t uninstall Microsoft PowerShell using the Control Panel or the Settings app. Instead, you must use PowerShell and the Remove-AppxPackage cmdlet to uninstall the app from your Windows computer.

To uninstall Microsoft Store:

  1. Press the Win key and type powershell.
  2. Right-click on Windows PowerShell and select Run as administrator. Click Yes if prompted by UAC.
  3. In the PowerShell window, type the following command to uninstall Microsoft Store:
     Get-AppxPackage -alluser *WindowsStore* | Remove-Appxpackage 
  4. You’ll see a momentary progress bar, and the cursor will move to the next line upon successful execution.
  5. If you search for Microsoft Store, it will no longer appear in the search results or the installed apps list.

How to Reinstall the Microsoft Store Using PowerShell

powershell reinstall microsoft store app

Similarly, you can use PowerShell’s Add-AppxPackage cmdlet to reinstall Microsoft Store on your Windows 11 system. Here’s how to do it.

  1. Launch Windows PowerShell as administrator.
  2. In the PowerShell window, type the following command and press Enter to install Microsoft Store:
     Get-AppxPackage -AllUsers Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} 
  3. Once the app is installed, type exit and press Enter to close PowerShell.

How to Reinstall the Microsoft Store Using the MSIX Package

Another way to install Microsoft Store is by using the MSIX package of the app. You can download the MSIX bundle for Microsoft Store from a third-party web service that fetches package download links from the Microsoft server.

To install Microsoft Store, you need to download the MSIXBundle and a few AppX dependencies necessary to install the app. Here’s how to do it.

  1. Go to the Store.rg web page.
  2. Click the drop-down on the left side and select URL (link).
    download msxi package microsoft store

  3. Next, copy and paste the following link in the URL field. You can use Ctrl + F (Find) to locate these files:
  4. Click the drop-down on the right side and select RP.
  5. Next, click the Check mark button, and the service will look for available packages you can download.
  6. Next, you’ll need to download all the appx and MSXIBundle installers listed below:
     <code class="language-bash">Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.appx
  7. The appx or MSXIbundle version may vary as newer versions are released. Also, some browsers may prevent you from downloading files. In that case, use a different browser, such as Firefox, to complete the download.
    microsoft store appx packages

  8. Download all the files to a separate folder. Once done, run all the Appx installers one by one.
    install microsoft store appx package

  9. Next, run the MSXIBundle installer and follow the on-screen instructions to install the app.

If you encounter an installation error, you’ll need to install the package using PowerShell. ​​​​​To install an appx package, you need to use the add-appxpackage -path cmdlet followed by the appx or MSXIbundle package file location. Here’s how to do it.

  1. To install the package, open PowerShell as administrator and run the following command:
     Add-AppxPackage -Path &ldquo;C:\Users\Username\Downloads\filename.Appx&rdquo; 
  2. In the above command, replace the file path with your appx file folder path and appx file. Repeat the steps as necessary.
  3. For example, to install the Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx file, located at C:\Users\Username\Downloads\, the full command will look something like this:
     Add-AppxPackage -Path "C:\Users\Username\Downloads\Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe.Appx" 
  4. Once all the appx packages are installed, rerun the MSXIBundle installer to install Microsoft Store.

Note that while installing the appx files, you may encounter an error stating the installation has failed, and you need to close a specific file to proceed. In that case, skip that appx file and try to install the next appx package. At times, you don’t need to install the dependencies as they may already exist in your system. If all the appx files return the same error, simply run the MSIXBundle file to install Microsoft Store.

Reinstall Microsoft Store to Fix Apps Installation Issues

Reinstalling Microsoft Store can be a tedious task. However, this may become necessary when troubleshooting Microsoft Store for app installation issues. That said, you can also download Microsoft Store Apps without Microsoft Store using a third-party web service. This is helpful if the store is facing an issue with a specific app.


Source link

Leave a Reply

%d bloggers like this: