Millions of users visit the Windows Store daily to update their favorite apps, try out the recently launched apps or download the latest games. The Store is a very complex place, and as always, where there’s complexity, sometimes unexpected things happen.
There are various errors that can occur when Windows users visit the Store. Fortunately, there are various workarounds available for most of these errors.
Windows Store error 0x87AF0001 prevents users from updating apps
Table of contents:
- Reset the Windows Explorer task
- Disable Firewall or antivirus
- Reset Windows Store
- Run the Store troubleshooter
- Update Windows
- Delete updates
- Run the SFC scan
- Reset the Software distribution folder
How to fix Windows Store error 0x87AF0001
Solution 1 – Reset the Windows Explorer task
The following solution work for 99% of the apps. Until Microsoft rolls out a patch to fix this bug, this workaround remains the best possible alternative.
- Open the Windows Store > launch the download process
- Open Task Manager > scroll down to Windows Processes > find Windows Explorer > right click it and end the task
- Go to the Windows Store and update or download your app(s)
- When the download process is completed, go back to Task Manager
- In the upper left corner, click File > run New task
- Type in the word “explorer” and click ok.
On the other hand, if you’re not able to resolve the problem with this solution, we have some more for you. Of course, none of the following solutions is guaranteed to resolve the problem, but there’s really nothing you can lose if you give them a try.
Solution 2 – Disable Firewall or antivirus
Even though it shouldn’t be the case by default, there’s still a chance the Windows Firewall actually blocks the Store. You can check that by disabling the Firewall. Here’s how to do that:
- Go to Search, type firewall, and open Windows Defender Firewall.
- Select Turn Windows Defender Firewall on or off.
- Disable Windows Firewall for both private and public networks.
- Confirm selection and try updating again.
Solution 3 – Reset Windows Store
The next thing we’re going to try is a good old trick that’s basically used for resolving various Store-related issues. You guessed it, the WSReset command. This command, as its name says, will reset the Store to its ‘natural’ state, and (hopefully) wipe away any potential issues.
Here’s how to easily reset the Microsoft Store in Windows 10:
- Go to Search, type wsreset, and click the WSReset.exe command.
- Wait for the process to finish and restart your computer.
Solution 4 – Run the Store troubleshooter
If none of the previous solutions worked, let’s turn to troubleshooters. The first troubleshooter we’re going to try is Windows 10’s built-in universal troubleshooter. This troubleshooter can be used for resolving various issues, including our little Store error.
Here’s how to run the Store troubleshooter in Windows 10:
- Go to the Settings app.
- Head over to Updates & Security > Troubleshoot.
- Scroll down and click Windows Store Apps.
- Now, go to Run the troubleshooter.
- Follow further on-screen instructions and let the wizard finish the process.
- Restart your computer.
Solution 5 – Update Windows
Even though Microsoft doesn’t push Store updates through Windows Update quite often, there’s a chance some other feature actually interferes with it. As Windows updates are known for disrupting various Windows features from time to time, your best bet is to either install a new update or delete the latest one.
We’re going to try with updating Windows first. Just in case Microsoft releases some patching update. To update your OS, simply go to Settings > Updates & security, and check for updates.
Solution 6- Delete updates
If there’s no new update, and you suspect the previous one actually messed something up, it’s a good idea to uninstall that update. In case you’re not sure how, just follow these instructions:
- Go to Settings > Updates & Security > Windows Update
- Go to Update history > Uninstall updates
- Now, find the latest update installed on your computer (you can sort updates by date), right-click it, and go to Uninstall
- Restart your computer
Solution 7 – Run the SFC scan
There’s one more troubleshooting tool we can try. That troubleshooter, of course, is the SFC scan. In case you’re not familiar with this tool, the SFC scan is a universal troubleshooting tool designed for resolving various internal issues within your system. And in just might be helpful in this case, as well.
Here’s how to run the SFC scan in Windows 10:
- Go to Search, type cmd, and open Command Prompt as Administrator.
- Type the following command, and press Enter: sfc/scannow
- Wait for the process to finish.
- Restart your computer.
Solution 8 – Reset the Software distribution folder
And finally, if none of the above-mentioned solutions worked, let’s try with deleting the Software Distribution folder. Here’s how to do that:
- Open Command Prompt as administrator (as shown above).
- Type the following commands, and press Enter after each one:
- Minimize Command Prompt. Now navigate to the C:\Windows\SoftwareDistribution directory and delete all files from it.
- After deleting all files, go back to Command Prompt and run the following commands:
If you’ve come across other workarounds to fix the Windows Store error 0x87AF0001, list the troubleshooting steps in the comment section below.
Editor’s Note: This post was originally published in November 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
RELATED STORIES YOU NEED TO CHECK OUT:
- Fix: 0x80D05001 Windows Store error
- Fix: Windows Store closes immediately after opening
- Microsoft finally fixes Windows Store “Check for Update” bug