Fixing Microsoft Store error 0x80131505

Microsoft Store error 0x80131505 may occur when trying to access the Microsoft Store application. This error can be caused by various reasons. You can read this Techquack post to learn more and get viable methods to solve this problem.

Imagine you’ve invited friends over for a game night, but your favorite game doesn’t launch right before the game. You rush to the Microsoft Store to reinstall the game, but the screen displays “Error 0x80131505”. You reconnect your PC to Wi-Fi, but to no avail.

Well, if you encounter error 0x80131505 on your PC, you are not alone. This error occurs when it takes a long time to download the Microsoft Store. It prevents users from downloading new applications and updating existing ones.

When trying to access the Microsoft Store app, you may encounter error code:0x80131505 after Microsoft Store has been trying to load for a long time. This is a serious problem because it effectively prevents you from downloading and updating UWP apps.

For now, you can follow the instructions below to fix this error.

 

What is the cause of Windows Store error code 0x80131505?

What is the cause of Windows Store error code 0x80131505?

Generic Store Error: If the problem is caused by a genetic error that has already been documented by Microsoft, you should be able to fix it automatically by running the Windows Store Apps diagnostic program and following the recommended fix strategy.

Corrupted Store Cache: The Windows Store cache may contain a number of corrupted files that could eventually affect your Windows Store’s ability to connect to its parent server. If this scenario applies, you can resolve the issue by manually clearing the entire Windows Store cache or by using the WSReset.exe utility.

Incomplete/incomplete SoftwareDistribution data: It is also possible that this problem is caused by corrupt or incomplete data stored in the SoftwareDistribution folder. In this case, the problem can be solved by resetting the contents of the SoftwareDistribution folder using a series of CMD commands.

DLL logs are no longer saved: You may also encounter this problem because some important log components are no longer saved. In this case, you can solve the problem by using a raised PowerShell window to reregister all the files.

Corrupted system file: In rare cases, a corrupted system file may be a factor causing this error code. If this scenario applies, the most practical way to solve the problem without losing data is to use utilities (DISM and SFC) that can handle corrupted system files.

 

How to fix Windows Store error code 0x80131505?

How to fix Windows Store error code 0x80131505?

Check for the required services

Step 1: Press Windows + R to open the Run dialog box.
Step 2: Type Services.msc and press Enter to open Services.
Step 3: Make sure that the status of the following services is set to “Running” and the startup type is set to “Automatic”:

  • Windows License Manager.
  • Basic information transfer service
  • Encryption services
  • Windows Update
  • Windows Store
Performing diagnostics for Windows Store applications

Step 1: Press Windows + R to open the Run dialog box.
Step 2: Type the name control.exe / Microsoft.
Troubleshooting or ms-settings: troubleshooting and press Enter to open the Troubleshooting tab in the Settings menu.
Step 3: Go to Find and fix other problems -> Windows Store Apps -> Run Troubleshooting.
Step 4: Wait for the initial scan to complete and click “Apply this fix” to apply the repair.
Step 5: Reboot your computer.

Resetting Windows Store via CMD

Step 1: Press Windows + R to open the Run dialog box.
Step 2: Type cmd, and then press Ctrl + Shift + Enter to open the extended CMD window. When prompted for User Account Control, click Yes to grant administrator rights.
Step 3: Enter wsreset.exe Perform the CMD prompt and press Enter to reset the Windows Store component.
Step 4: Close the parent CMD window and restart your computer.

Resetting Windows Store from the Preferences menu

Step 1: Press Windows + R to open the Run dialog box.
Step 2: Enter ms-settings:apps features and press Enter to open the Apps and Features tab in the Settings menu.
Step 3: Find the Microsoft Store in the list of applications and click on it.
Step 4: Click the More Options hyperlink under the Microsoft Store entry.
Step 5: Click the “Reset” button and confirm to start the Microsoft Store cache clearing process.
Step 6: Reboot your computer.

If you get an error message :

Windows cannot find `ms-windows-store:PurgeCaches`. Check if you typed the name correctly and then try again.

You need to re-register the Windows Store application by running the following command in the high order query window :
PowerShell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootWinStoreAppxManifest.xml

Clear the software distribution folder

Step 1: Disconnect your Internet connection.
Step 2: Press Windows + R to open the Run dialog box.
Step 3: Type cmd and press Ctrl + Shift + Enter to open the extended CMD window. When prompted to perform user account control, click Yes to grant administrator rights.
Step 4: Enter the following command at the CMD prompt and press Enter after each command to reset the SoftwareDistribution folder.

network stop cryptoSvc
network stop bits
network stop msi server
ren C: WindowsSoftwareDistribution
SoftwareDistribution.old
rmdir C:WindowsSoftwareDistributionDataStore
rmdir C:WindowsSoftwareDistributionDownload
network start encryption
network start bits
network start messer

Step 5: Close the advanced FGW prompt and restart your computer.

Re-registering the Windows Store application via PowerShell

Step 1: Press Windows + R to open the Run dialog box.
Step 2: Type Powershell and press Ctrl + Shift + Enter to open the extended Powershell window. When prompted to perform User Account Control, click Yes to grant administrator privileges.
Step 3: Type Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”} in the expanded Powershell window and press Enter to re-register the Windows Store component.
Step 4: Close the advanced Powershell window and restart your computer.

 

Frequently Asked Questions

Error 0x80131505 occurs when Windows 10 users try to access the Microsoft Store app. In most cases, the error code is displayed after a long period of time in which the Windows Store is trying to load.

  1. Windows+R key -> Type services.msc and press Enter > Find the background information transfer and make sure that "Start" and "Automatic..." are set.
  2. Run the Windows Store App Diagnostic Utility.
  3. Reset the Windows Store from the command line.
  4. Re-register all apps in the Store (you will get a lot of red, ignore them).

  1. Select Start.
  2. Select Settings.
  3. Select Apps.
  4. Select apps and features.
  5. Select the app you want to repair.
  6. Select More Options.
  7. Select Repair.
  8. After the repair is complete, try launching the app.

Windows 10 has several troubleshooting tools that can solve many problems. If you're having problems with the Microsoft Store, simply open the Settings app and go to Update and Security. In the right pane, select Microsoft Store Apps and click Run Troubleshooter.