Fix Microsoft Store Error 0x87AF0001

Microsoft Store Update Error is one of the common problems that you would have often got encounter with. One such error is 0x87AF0001 which comes to appear when you try to update the existing app or attempt to download a new one from Microsoft Store. In other words, you can say that the error prevents you from downloading apps or installing new updates.

0x87AF0001

You might have seen that this error doesn’t come with any information due to which it becomes quite confusing to know the root cause of this problem. However, as per some Microsoft users’ reports, they tried some ways to get out of this mess by resetting the Windows Store, but sadly, they didn’t find it helpful.

If you’re also looking for the solution then read this post. In this guide, we have included some effective workarounds that can possibly help you to get rid of this hurdle.

Microsoft Store Error 0x87AF0001

If you receive error code 0x87AF0001 when trying to download and install, or update Windows Store apps on Windows 10, then follow the below suggestions:

  1. Run Windows Store Apps troubleshooter
  2. Run StartComponentCleanup
  3. Turn off the Microsoft Defender Firewall
  4. Try to update in Clean Boot State.

Let us see now them in detail:

1] Run Windows Store Apps troubleshooter

Before you try out any other method, you must run the built-in Windows Store troubleshooter and then check if your Windows version is able to fix the problem by itself. Here is how to do it:

Open Windows Settings (Win+I) and then select the Update & Security category.

Select the Troubleshoot tab and then switch to the right pane.

Now scroll to the bottom of the screen and select Windows Store Apps.

Then click on the Run the troubleshooter button to solve the problem with your PC.

At this time, the will ask you to enable User Account Control so that it can run Windows Store Apps.

Click on the User Account Control (UAC) option and the system will start detecting the additional problem.

After it, sign in to your Microsoft account and then follow the on-screen instructions.

3] Run StartComponentCleanup

The StartComponentCleanup task was created to regularly clean up components automatically when the system is not in use. This task is set to run automatically when triggered by the operating system. When run automatically, the task will wait at least 30 days after an updated component has been installed before uninstalling the previous versions of the component.

You can run the StartComponentCleanup task using an elevated Command Prompt, using the following command:

schtasks.exe /Run /TN "MicrosoftWindowsServicingStartComponentCleanup"

cmd-winsxs

If you are successful, you will see a SUCCESS message returned.

Once it gets completed, restart your computer and check if your problem has been resolved.

3] Temporarily turn off the Microsoft Defender Firewall

Turn off the Microsoft Defender Firewall

Another possible reason that might cause the error is the Windows Firewall that blocks the Windows store sometimes. In such a case you need to turn off the firewall and then check if it fixes the issue. If you don’t find it helpful, turn the firewall back on.

To turn off the Microsoft Defender Firewall, open an elevated command prompt.

In the command prompt window, input the following command and hit enter to run it:

netsh advfirewall set allprofiles state off

Now go to the Windows App Store and try to update or download an app. if it works then the problem is resolved and now you may want to turn the firewall back on.

So, again open the elevated command prompt and type in the below command –

netsh advfirewall set allprofiles state on

Now press Enter to run the command.

4] Try to update in Clean Boot State

In case none of the above methods help you to fix this error then perform a Clean Boot and then try to download & install, or update the app.

I hope this guide helps you to solve the issue.

0x87AF0001

Source link

Jacob MORRIS

MORRIS is an impassioned technology writer. He always inspires technologists with his innovative thinking and practical approach. A go-to personality for every Technical problem, no doubt, the chief problem-solver!

Leave a Reply