sodcalculator

10 Tech How-To

Fix Microsoft Store Error 0x80131505

Guide 10-13335 · Updated · Step by step

Microsoft Store error 0x80131505 typically appears when you try to download, update, or open an app, and it usually means the Store can’t reach its servers or a cached file is corrupted. The most effective fixes are resetting the Store cache, checking your internet connection and proxy settings, and reinstalling the Store app itself. Below are step-by-step solutions that work for most Windows 10 and Windows 11 users.

What Causes Error 0x80131505?

This error is a network-related failure that occurs when the Microsoft Store client cannot establish a secure connection to Microsoft’s servers. Common triggers include:

  • Corrupted cache files in the Store app
  • Outdated Windows or Store app version
  • Incorrect date, time, or time zone on your PC
  • Proxy or VPN interference
  • Firewall or antivirus blocking the Store
  • Corrupted user account profile

While the error code itself doesn’t specify the exact cause, the solutions below address each of these possibilities in order of likelihood.

Before You Start: Quick Checks

Try these simple steps first—they resolve a surprising number of cases:

  1. Restart your computer. A temporary glitch in the network stack or Store service often clears with a reboot.
  2. Check your internet connection by opening a website in your browser. If that fails, fix your network first.
  3. Make sure Windows is up to date: go to Settings > Windows Update and install any pending updates.
  4. Verify your date and time: right-click the clock, choose Adjust date/time, and enable Set time automatically and Set time zone automatically.

Reset the Microsoft Store Cache

Corrupted cache files are the most common cause of error 0x80131505. The built-in wsreset.exe tool clears the Store’s cache without affecting your installed apps or accounts.

  1. Press Windows + R to open the Run dialog.
  2. Type wsreset.exe and press Enter.
  3. A blank Command Prompt window will appear. Wait for it to finish (it may take a few minutes).
  4. Once the window closes, the Microsoft Store will open automatically. Try your download again.

If the error persists, you can also reset the Store via Settings: go to Settings > Apps > Installed apps, find Microsoft Store, click the three-dot menu, and choose Advanced options, then click Reset.

Check Proxy and VPN Settings

Microsoft Store requires a direct, secure connection. A misconfigured proxy or an active VPN can block it, causing error 0x80131505.

  1. Open Settings > Network & Internet > Proxy.
  2. Under Manual proxy setup, ensure Use a proxy server is turned off (unless you know you need it for a corporate network).
  3. If you use a VPN, disconnect and try the Store again. If it works, you may need to configure your VPN to allow Microsoft Store traffic.

Also, temporarily disable any third-party firewall or antivirus software to see if it’s blocking the Store. If disabling them fixes the issue, add Microsoft Store to the allowed list in those programs.

Re-register the Microsoft Store App

If the Store app itself is corrupted, re-registering it via PowerShell can fix the problem without reinstalling Windows.

  1. Right-click the Start button and select Windows Terminal (Admin) or PowerShell (Admin).
  2. Copy and paste the following command, then press Enter:
Get-AppxPackage -AllUsers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  1. Wait for the command to complete (it may take a minute).
  2. Restart your computer and try opening the Store again.

Clear the Windows Store Cache Folder Manually

If wsreset.exe doesn’t work, you can manually delete the cache folder. This is safe and will not remove your apps or account data.

  1. Press Windows + R, type %LOCALAPPDATA%\Packages\Microsoft.WindowsStore\LocalCache, and press Enter.
  2. Select all files and folders inside (Ctrl+A) and delete them. If some files are in use, close the Store and try again.
  3. Restart your PC and open the Store.

Repair or Reinstall the Store Using Windows Settings

Windows 10 and 11 offer a built-in repair tool for Store apps:

  1. Go to Settings > Apps > Installed apps.
  2. Find Microsoft Store, click the three-dot menu, and choose Advanced options.
  3. Click Repair. If that doesn’t help, click Reset (this will sign you out of the Store and clear app preferences, but won’t delete your installed apps).

If the Store is completely broken and none of the above works, you can reinstall it using PowerShell:

Get-AppxPackage -AllUsers Microsoft.WindowsStore | Remove-AppxPackage

Then reinstall it from the Microsoft Store website (store.microsoft.com) or by running the re-register command from the previous section.

Frequently Asked Questions

Why does error 0x80131505 keep coming back?

If the error returns after a successful fix, it usually means a background service (like Windows Update) is failing or a third-party program is interfering. Check your proxy settings again, and run the Windows Update troubleshooter from Settings > System > Troubleshoot.

Will resetting the Store delete my installed apps?

No. Resetting the Microsoft Store clears its cache and preferences, but it does not uninstall or delete any apps you’ve installed from the Store. You may need to sign in again.

Can I fix this error by changing my DNS?

Sometimes, yes. If your ISP’s DNS is blocking Microsoft’s servers, switching to a public DNS like Google (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1) can help. Go to Settings > Network & Internet > Change adapter options, right-click your connection, select Properties, then Internet Protocol Version 4 (TCP/IPv4) and enter the DNS addresses.

Does this error affect Windows 11 as well?

Yes, error 0x80131505 appears on both Windows 10 and Windows 11. The fixes are identical, though the Settings menu may look slightly different in Windows 11.

Is there a way to avoid this error in the future?

Keeping Windows and the Store app updated, avoiding aggressive proxy/VPN settings, and periodically running wsreset.exe can reduce the chances of encountering this error. Also, run the built-in Windows Store Apps troubleshooter from Settings > System > Troubleshoot > Other troubleshooters.

What if none of these fixes work?

If you’ve tried all the steps and the error persists, the issue may be with your Windows user account. Create a new local administrator account and test the Store there. If it works, you may need to migrate your files to the new account. In rare cases, a Windows repair install (using the “Reset this PC� option with “Keep my files�) can resolve underlying system corruption.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →