Have you ever encountered the Windows Store error 0x87AF0813 on your PC? If you have, you come to the right place. In this post, MiniTool provides the possible reasons and effective solutions to this error.

The Microsoft Store is a digital distribution platform operated by Microsoft. It is very convenient for Windows users, and they can download the apps and games they like from it.

However, some of the users report that they have encountered the Microsoft Store error 0x87AF0813 on their PC. This error bothers them a lot. Have you also encountered the same error? If you are, you don’t need to worry. Here are some possible reasons for this error:

  • The Microsoft Store cache is corrupt.
  • The system files are corrupt or missing.
  • The Internet connection is poor.
  • There is not enough storage space on your PC.
  • The Windows operating system on your PC is outdated.

After knowing the possible reasons for this error, you may want to know the solutions to this error as soon as possible. This post provides 8 useful solutions that you can try.

How to Fix the No Bootable Device Acer Error on Windows PC?
How to Fix the No Bootable Device Acer Error on Windows PC?

Receive the error that says No Bootable Device on your Acer laptop? Don't worry. Here's a full guide that provides reasons and solutions to this error.

Read More

Solution 1. Try Basic Tricks

Before you try other solutions, you can try some basic tricks to fix the Windows Store error 0x87AF0813. They are:

  • Check your Internet connection.
  • Update Windows.
  • Relog in Your Microsoft Store Account.
  • Disable Third-party Security Software.

If all these tricks are unable to help you fix this error, you can try other solutions below.

Solution 2. Reset the Microsoft Store Cache

If the Microsoft Store cache is corrupt, you can also encounter the error code 0x87AF0813. So, you can try resetting the Microsoft Store cache to fix it. Here are the detailed steps:

  1. Open the Run window.
  2. Type “wsreset.exe” in the box and press Enter.
  3. Wait for the reset process to complete.
  4. After that, the cache in the Microsoft Store can be successfully reset. 
Transcend Hard Disk Data Recovery: A Full Guide!
Transcend Hard Disk Data Recovery: A Full Guide!

This article shows the common scenarios of Transcend external hard drive data loss and provides a step-by-step guide on Transcend hard drive recovery.

Read More

Solution 3. Clear Storage Space on the PC

If there is not enough storage space on your PC, you can try clearing up some to fix this error. To do that, you can run Disk Cleanup. Here’s the way:

  1. Double-click This PC on your desktop.
  2. Right-click Drive C: and select Properties.
  3. Click the Disk Cleanup button.
  4. Then check the files you want to clear in the File to delete section.
  5. After that, click OK.
  6. Click the Delete Files button in the pop-up window.
  7. Once done, you can get some free space.

Further Reading:

If you want to delete some of the unnecessary files and get more free space on your drive, I recommend you use MiniTool Partition Wizard’s Space Analyzer. Here’s the guide:

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

  1. Download and install MiniTool Partition Wizard on your PC.
  2. Launch it, and then click Space Analyzer on the toolbar.
  3. Click the down arrow to select the drive you want to scan, and then click Scan.
  4. After that, you can see all your files.
  5. Right-click the file you want to delete and select Delete (Permanently).

delete unnecessary files via MiniTool Partition Wizard

Solution 4. Run the Windows Store Apps Troubleshooter

You can also try running the Windows Store Apps troubleshooter to fix this error. Here’s the tutorial:

  1. Open the Settings window.
  2. Go to Update & Security > Troubleshoot, and then click the Additional troubleshooters link.
  3. Scroll down to select Windows Store Apps.
  4. Click Run the troubleshooter.
  5. Once done, check if the error has been fixed.

Solution 5. Run the DISM and SFC Scan

If the system files on your PC are corrupt or missing, you may also encounter the Microsoft Store error 0x87AF0813 easily. To fix that, you can run the DISM and SFC. Here’s the guide:

Step 1. Run Command Prompt as administrator.

Step 2. Run these commands one by one with Enter.

  • DISM.exe /Online /Cleanup-image /Scanhealth
  • DISM.exe /Online /Cleanup-image /Checkhealth
  • DISM.exe /Online /Cleanup-image /Restorehealth

Step 3. After that, enter “sfc /scannow” and press Enter.

Step 4. Once done, check if the error code 0x87AF0813 on the Microsoft Store has been resolved.

Solution 6. Change the Region

Some people report that they have fixed the error successfully by changing the region. You can also have a try. To do that, you just need to go to Settings > Time & Language > Region and choose your Country or region as the United States.

change the Country and region to United States

Solution 7. Re-register the Microsoft Store App

Re-register the Microsoft Store app may also help you fix this error. To do that, you can follow these steps:

  1. Run Windows PowerShell as administrator.
  2. Type the command “Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)AppXManifest.xml”}” and press Enter.
  3. Once done, check if the error has been fixed.

Solution 8. Factory Reset Windows

If none of the above solutions can help you fix the Windows Store error 0x87AF0813 on your PC, you can try factory resetting Windows. To do that, you can refer to these posts according to your needs:

Bottom Line

Is this post useful for you? Do you know any other useful solutions to this error? Please feel free to leave your ideas in the comment zone.

MiniTool Partition Wizard is an all-in-one partition manager and can be used for data recovery and disk diagnosis. If you are interested in it, you can visit MiniTool Partition Wizard’s official website.

  • linkedin
  • reddit