Error Code 0x80070520: How to Fix It in 7 Steps

Re-register your Microsoft Store app to fix the issue

Reading time icon 4 min. read

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • The error code occurred due to corrupted Windows update components or the Windows Update service not working.
  • This guide will cover all the easiest methods to fix the issue.
Error Code 0x80070520 How to Fix It in 7 Steps

One of the common errors faced by Microsoft Store users is 0x80070520. It shows up when you try to update or install an app on Windows Store. 

This guide will discuss some of the tested methods to fix the problem in no time. 

What causes the error code 0x80070520 on Windows? 

There are several reasons for this Microsoft Store error: some of the common ones are mentioned here: 

  • Scan for malware infection – If your computer is infected with viruses, Microsoft Store might not work correctly, hence the error. You need to run a deep scan using reliable antivirus software to remove the infection.
  • Corrupted system files – Damaged or missing system files can cause various issues, including this error. You need to repair system files using Command Prompt. 
  • Misconfigured system settings – If your system settings are incorrect, it can cause a Microsoft Store error. You need to check the power plan and other important system settings to ensure everything is in place.
  • An issue with the digital certificate revocation process – Windows checks the revocation status of the digital certificate via the online certificate revocation list (CRL) hosted by the certificate authority (CA) that issued the certificate. If the CRL is not available or cannot be reached due to a network issue or firewall, Windows may fail to verify the certificate and display the error.

What can I do to fix the error code 0x80070520 on Windows? 

Before engaging in advanced troubleshooting steps, you should consider performing the following checks:

1. Run a malware scan 

  1. Press the Windows key, type Windows Security, and click OpenWindows Security open 0x80070520
  2. Go to Virus & threat protection and click Scan options.V& T 0x80070520
  3. Select Full scan and click Scan now.Full scan -
  4. The scan will run, and it will come up with malicious files. Delete them when prompted. 

2. Use Command Prompt

  1. Press the Windows key, type CMD, and click Run as administrator.CMD elevated 0x80070520
  2. Type the following command one by one and press Enter: sfc/scannow DISM /Online /Cleanup-Image /RestoreHealth
  3. Restart your computer to let the changes take effect. 

3. Run the troubleshooter

  1. Press Windows + I to open the Settings app.
  2. Go to System, then click Troubleshoottroubleshoot 0x80070520
  3. Choose Other troubleshooters.troubleshooters
  4. Select Windows Store Apps and click Run.Troubleshoot Windows Store Apps
  5. Follow the onscreen instructions to complete the process. 

4. Clear Windows Store cache

  1. Press Windows + R to open the Run dialog box. Run command wsreset.exe - Error Code 0x80070520: How to Fix It in 7 Steps
  2. Type wsreset.exe and click OK to delete the Windows Store cache.
  3. Once done, Microsoft Store will restart.

5. Remove the SoftwareDistribution folder 

  1. Press the Windows key, type CMD, and click Run as administrator.CMD elevated
  2. Type the following commands one by one to stop Windows Update and BITS service, and press Enter after every command: net stop wuauserv net stop bits
  3. Minimize the Command Prompt and navigate to this path: C:\Windows\SoftwareDistribution
  4. Select all the content and click the Delete icon.SoftwareDistribution Delete - 0x80070520
  5. Copy and paste the following commands one by one to restart Windows Update and BITS service and press Enter after every command: net start wuauserv net start bits
  6. Restart your computer.

6. ReRegister and Reinstall Windows Store App

6.1 Re-Register the app

  1. Press the Windows key, type PowerShell, and click Run as administrator.Powershell 2 0x80070520
  2. Copy and paste the following command and press Enter to execute it: Get-AppXPackage WindowsStore -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}powershel Reinstall 0x80070520
  3. Once the command is executed, restart your computer. 

6.2 Reinstall the app

  1. On the PowerShell window with admin rights, type the following command and press Enter: Get-AppxPackage-AllUsers|Foreach{Add-AppxPackage-DisableDevelopmentMode-Register“$($ _. InstallLocation)\AppXManifest.xml”}powershell_Reinstall Windows Store Apps
  2. Once the command is successfully executed, restart your PC. 

7. Update the Microsoft Store

  1. Launch Microsoft Store and click on the Library button.
  2. Choose Updates & downloadsMicrosoft Store update 0x80070520
  3. Click Get Updates to download the updates if available.
  4. The process will take some time to complete. Next, restart your computer to confirm the changes. 

So, these are some of the methods to fix the error code 0x80070520. Try them and let us know what worked for you in the comments section below. 

More about the topics: windows 10, Windows 11