How to Fix Microsoft Store Error 0x80070520 in Windows

Did you encounter the 0x80070520 error while opening the Microsoft Store application on Windows 11/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. 

Find and Fix Windows Errors automatically via PC Repair Tool

RESTORO is a great repair tool that automatically finds and repairs different issues on Windows OS. Having this tool will protect your PC against malicious codes, hardware failures, and several other bugs. Moreover, this also ensures you use your device to its fullest capabilities and performance.

Get the Restoro Tool

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. 

Solve Store Error Code 0x80070520

What causes Error 0x80070520?

The error 0x80070520 normally occurs when your device meets one or more of the following conditions –

  • After installing a corrupted Windows Update
  • Missing or damaged system files because of third-party software’s interactions with the system apps
  • Presence of viruses or malware on your Windows PC

Fix – Store Error 0x80070520 

To solve the Microsoft Store Error code 0x80070520 on Windows 11/10 PC, try out the below suggestions – 

1] Run Windows Store Apps Troubleshooter

Windows 11 or 10 both possess a troubleshooter for almost all their 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 been resolved by now. In case you have any queries or suggestions, let us know in the comment section. 

Leave a Reply