How to Fix Windows Store Error 0x87AFo813?

by Alice Woods - -


Issue: How to Fix Windows Store Error 0x87AFo813?

I tried to install the converter of Youtube videos from Windows Store. Failed with an error code 0x87AFo813. Then I‘ve attempted to install a couple of other programs, but the download process ended up with the same error message. I performed Windows Apps Troubleshooter, and it said: „Windows Store cache may be damaged.“ Did anyone figure out how to solve this problem?

Solved Answer

a picture of Error Code 0x87AFo813

Error Code 0x87AFo813 is yet another Windows Store bug, which started emerging in Windows 10 operating system recently. Thorough investigation of the issue revealed that it hadn’t been detected in older Windows versions, including earlier Windows 10 versions. The 0x87AFo813 error shows up when using Windows Store app only. When the PC‘s owner attempts to install programs, games or updates, he/she is not allowed to do so. The download process usually gets stuck, and the user receives a pop-up alert indicating the 0x87AFo813 error. No other specificities are provided on this alert, which is why it may be difficult for the inexperienced Windows user to find the culprit and the solution. We‘ve checked this problem carefully and found out that its culprit may be related to the damaged Windows Store cache. To check that, the PC user should run a Windows Apps Troubleshooter. If it shows that „Windows Store cache may be damaged“ message, then the following steps should help to fix 0x87AFo813 error.

Method 1. Reset Windows Store cache

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.
  • Press Windows key + R, type “C:\Windows\System32”, and press “Enter”. (C: stands for the root driver, so change the letter if needed).
  • When the System32 folder is opened, scroll down and locate the “WSReset.exe” application.
  • Right-click on it and select “Run as administrator”.
  • Press “Yes” on the UAC window and close everything.
  • Restart Windows Store app and try to download the app you needed.

Method 2. Modify Windows Store Cache Folder

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.
  • Press Windows key + R, type “C:\Users\\AppData\Local\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\LocalState”, and press “Enter”.
  • You should change the C: with the letter of your root drive and with your user account name.
  • Once you access the “LocalState” folder, look for the “Cache folder”.
  • If you found it, rename it to “Cache.old”.
  • Then right-click on the empty space in the “LocalState” folder and select “New” -> “Folder”.
  • Name it “Cache” and close “File Explorer.”
  • Finally, reboot your PC and then run Windows Apps Troubleshooter.
  • If it finds Windows Store cache damaged, this time it should fix it automatically.

Method 3. Reinstall Windows Store

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Reimage Reimage.
  • Click Windows key + R, type “PowerShell”, and press “Enter.”
  • Right-click on the search results and select “Run as Administrator.”
  • Type “Get-Appxpackage –Allusers” and press “Enter.”
  • Find “Windows Store” entry and copy the package name. For this purpose, mark it and press Ctrl + C.
  • After that, type Add-AppxPackage -register “C:\Program Files\WindowsApps\” –DisableDevelopmentMode command. NOTE: replace “PackageFullName” with the Windows Store package name by pressing Ctrl + V. Besides, instead of C: type the letter of the root driver of your system.
  • After that, reopen PowerShell with administrative privileges as explained above.
  • Paste Add-AppxPackage -register “C:\Program Files\WindowsApps\” –DisableDevelopmentMode command and press Enter.
  • Finally, reboot the system to execute all changes.

NOTE: to prevent and fix issues like 0x87AFo813 error, specialists highly recommend to optimize Windows OS regularly. For this purpose, you can use Reimage. This tool will optimize Windows Registry, repair Windows and programs’ stability issues, restore the operating system, replace the missing or affected system files, and perform many other tasks to keep your PC stable.

Repair your Errors automatically team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

do it now!
Download Fix
do it now!
Download Fix
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using Reimage, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Reimage - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Reimage - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Reimage malware removal tool.

Prevent websites, ISP, and other parties from tracking you

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

A VPN is also crucial when it comes to user privacy. Online trackers such as cookies can not only be used by social media platforms and other websites but also your Internet Service Provider and the government. Even if you apply the most secure settings via your web browser, you can still be tracked via apps that you are connected to the internet. Besides, privacy-focused browsers like Tor is are not an optimal choice due to diminished connection speed.

Therefore, to stay completely anonymous and prevent the ISP and the government from spying on you, you should employ Private Internet Access VPN. It will allow you to connect to the internet while being completely anonymous, prevent trackers, ads, as well as malicious content. Most importantly, you will prevent the illegal surveillance activities that NSA and other governmental institutions are performing behind your back.


Recover your lost files quickly

Unforeseen circumstances can happen at any time while using the computer: it can turn off due to a power cut, a Blue Screen of Death (BSoD) can occur, or random Windows updates can decide to reboot the machine when you went away for a few minutes. As a result, your schoolwork, important documents, and other data might be lost.

Additionally, you might also be attacked by malware that can corrupt your Windows or encrypt files with a robust encryption algorithm, and ask for a ransom in Bitcoin for the decryption tool. Cybercriminals might not deliver what they promised, however, so it is better to attempt alternative file recovery methods that could help you to retrieve at least some portion of the lost data.

Data recovery software is one of the options that could help you recover your files. Once you delete a file, it does not vanish into thin air – it remains on your system as long as no new data is written on top of it. Data Recovery Pro is recovery software that searchers for working copies of deleted files within your hard drive. By using the tool, you can prevent loss of valuable documents, school work, personal pictures, and other crucial files.

About the author
Alice Woods
Alice Woods - Shares the knowledge about computer protection

Alice Woods is a security expert who specializes in cyber threat investigation and analysis. Her mission on Ugetfix - to share the knowledge and help users to protect their computers from malicious programs.

Contact Alice Woods
About the company Esolutions

What you can add more about the problem: "How to Fix Windows Store Error 0x87AFo813?"