How to Fix Microsoft Store Error 0x80070520 in Windows 10

Did you encounter the 0x80070520 error while opening the Microsoft Store application in Windows 10? This bug typically occurs due to some Store apps-related problems. In this guide, we will discuss six different ways so as to fix this persisting error. 

The Store apps troubleshooter is one of the prominent tools that can find and resolve any store-related issues on the computer. Moving forward, we have also explained a few additional solutions to fix the 0x80070520 error on Windows 10 PC. 

Microsoft Store Error 0x80070520 Solutions

To solve the Microsoft Store Error code 0x80070520 in Windows 10, try-out the below suggestions – 

1. Run Windows Store Apps Troubleshooter

Windows 10 possesses a troubleshooter for almost all its functions and operations. Running this tool will look for possible reasons and resolve them. Here’s how to run the troubleshooter –

  • Hit Start Menu and select the Gear icon.
  • This will take you to the Settings application.
  • Choose to Update & Security > Troubleshoot > Additional troubleshooter.
  • On the next screen, click to expand Windows Store Apps and hit Run the troubleshooter.

Store Apps Troubleshooter

  • Now, follow the on-screen instructions to finish the remaining steps. 

2. Reset Windows Store

Since the error 0x80070520 occurs due to issues inside the Microsoft Store, better reset Windows Store to its default settings. To do so, follow the below guideline –

  • Navigate to Settings > Apps > Apps & Features
  • Jump to the right side and click to expand Microsoft Store.
  • Next, hit Advanced options on the extended pane.

Microsoft Store Error 0x80070520 - Advanced Options

  • Subsequently, scroll down to the Reset section and hit the Reset button.

Reset Store App

3. Run WSReset.exe to fix 0x80070520

Alternatively, you may also use PowerShell to reset the Windows Store to its default settings. All you require is to launch Windows PowerShell (Admin) and execute the code – “wsreset.exe“. See the Snapshot below –

Microsoft Store Error 0x80070520 - WSReset PowerShell

  • Finally, Restart Windows to implement the recent changes. 

If the error appears again, try the next set of solutions –

4. Rename Microsoft Store Cache folder 

Sometimes, the 0x80070520 error may also occur when the Store’s LocalCache folder grew in size. You may manually check whether this indeed is the case or not. If you find its size greater than a few MB, simply rename the cache file to cache.old using the following steps –

  • First of all, reach out to the below location –

C:\Users\<username>\AppData\Local\Packages \Microsoft.StorePurchaseApp_8wekyb3d8bbwe\LocalCache

Note: If you are not able to go past the username, turn on hidden files & folders.

  • Rename the cache folder to something cache.old inside the LocalCache folder.

Microsoft Store Error 0x80070520 - Rename cache folder

  • Close all running windows and Restart the computer so that changes made come into effect.

5. Reinstall Microsoft Store

If none of the solutions above address the 0x80070520 issue, try to reinstall the Store app via PowerShell. Here’s how to perform this task –

  • Use the Win + X shortcut to enter the Power Menu.
  • Select Windows PowerShell (Admin).
  • Now, run the below two cmdlets separately. 
Tip: Make sure to enter the below script correctly. The first code will remove all apps whereas the second one will reinstall them back.

Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage

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

  • After the above script runs successfully, Restart Windows to incorporate the recent changes. 

I hope the Store Error 0x80070520 must have resolved by now. In case you have any queries or suggestions, let us know in the comment section.