How to Fix ‘Error Code: 0x800700B7’ When Downloading Windows Subsystem for Android

Some Windows 11 users are reporting that every time they attempt to download the Amazon AppStore Preview and use the new Windows Subsystem for Android they end up seeing the 0x800700B7 error as the installation fails. The error typically appears when the user clicks on Download.

Android Subsystem Error 0x800700B7

After we’ve investigated this issue thoroughly, we realized that there are several different common scenarios that will make this error message appear whenever you attempt to use the Windows Subsystem for Android powered by the Amazon Appstore. Here’s a list of possible culprits:

  • Corrupted Windows Store cache – As it turns out, you might end up seeing the 0x800700B7 when attempting to use the Windows Subsystem for Android due to some temporary files that are affecting the launch of Amazon AppStore apps. If the local Windows Store cache is to blame, resetting it should allow you to fix the issue and use the Windows Subsystem for Android normally.
  • Corrupted Windows Store installation – Keep in mind that the new version of the Windows Store is still in preview mode. Inconsistencies related to the installation are to be expected, and your inability to use the Windows Subsystem for Android might be related to such an event. To fix this, you’ll need to reset the entire Windows Store app from a Windows Terminal app.
  • Corrupted data inside the Local cache folder – Keep in mind that the Windows Subsystem for Android uses a local cache that keeps temporary files related to the apps that you run through the Amazon AppStore. If this functionality used to work but suddenly isn’t working, you can attempt to clear every temp file related from the WindowsSubsystemForAndroid cache folder and see if the problem gets resolved.
  • System file corruption – Under more serious circumstances, you can expect to see this issue occurring due to some kind of system file corruption that is affecting a Windows Subsystem for Android dependency. In scenarios like this one, the best course of action is to do a repair install or go for a clean install if the issue is still not fixed.

Now that you know every scenario that might be viable, let’s go over every troubleshooting method that’s worth pursuing if you’re encountering the 0x800700B7 error when trying to use the Windows Subsystem for Android functionality on Windows 11:

Reset the Windows Store cache

When you start troubleshooting this error, the first thing you should do is make sure that the Windows Subsystem for the Android component is not actually affected by some temporary files belonging to a botched Amazon AppStore installation.

If this scenario is applicable, you should be able to fix the 0x800700B7 error entirely by clearing the Windows Store cache with a simple procedure – this will ensure that the next time you start Windows Store, no-cache files will be used.

Follow the instructions below to clear the Windows Store cache:

  1. Press Windows key + R to open up a Run dialog box.
  2. Next, type ‘wsreset.exe’ inside the text box of the Run prompt.
    Running wsreset.exe
  3. Press Ctrl + Shift + Enter to ensure that this command runs with administrative privileges.
  4. Once the procedure is complete, reboot your PC and see if the issue has been fixed once the next startup is complete.

In case you’re still dealing with the same 0x800700B7 error, move down to the next potential fix below.

Reset the Windows Store app

If clearing just the Windows Store cache was not an effective fix in your case, you should also consider the fact that an installation inconsistency might be preventing you from using the Windows Subsystem for Android functionality.

Note: Keep in mind that the Windows Store version on Windows 11 is still in preview mode, so inconsistencies related to its installation (particularly after an upgrade) are to be expected.

In case you suspect that a bat Windows Store installation might be causing the 0x800700B7 (particularly if you are encountering similar issues with other apps), you should take the time to reset the Windows Store app.

This procedure is the equivalent of reinstalling the app and can be done swiftly with a Powershell command and run from the Windows Terminal app.

Follow the instructions below to reset the Windows Store app from the Windows Terminal app:

  1. Press Windows key + R to open up a Run dialog box.
  2. Next, type ‘wt’ inside the text box of the Run dialog box.
    Opening up the Windows Terminal app
  3. Press Ctrl + Shift + Enter to open up a WindowsTerminal prompt with admin access.
  4. When you’re prompted by the User Account Control (UAC) windows, click Yes to grant administrative privileges.
  5. Once you’re finally inside the Windows Terminal app, type or paste the following Powershell command to effectively reset the entire Windows Store component:
    Get-AppxPackage *Microsoft.WindowsStore* | Reset-AppxPackage
  6. Wait until the operation is complete, then close the elevated Windows Terminal app and reboot your PC.
  7. Once your computer boots back up, repeat the action that was previously producing the 0x800700B7 error and see if the problem is now fixed.

If you’re still dealing with the same kind of issue, move down to the next potential fix below.

Delete the WindowsSubsystemForAndroid Local Cache folder

If you already tried resetting the entire Windows Store app and you’re still dealing with the same type of error (0x800700B7), the next thing you should focus on is the local cache folder that’s reserved for the Windows Subsystem for Android.

Note: Keep in mind that this local folder is stored separately and won’t be deleted when you try resetting the Windows Store component or clearing the generic cache folder (methods above).

If you haven’t done this already, you should also try deleting every temporary file related to the Amazon AppStore from the WindowsSubsystemForAndroid package folder.  This method is typically effective in those situations where the Windows Subsystem for Android worked just fine before breaking completely.

Follow the instructions below to delete every file present in the Microsoft.WindowsStore_8wekyb3d8bbwe local cache folder and resolve the 0x800700B7:

  1. Press Windows key + R to open up a Run dialog box.
  2. Inside the text box of the Run command, type ‘%localappdata%\Packages’.

    Accessing the hidden packages tab
  3. Once you’re inside the Packages folder, look around for the MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe folder.
    Finding the MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe folder

    Note: You can either look around and search manually or you can use the search function (top-left corner).

  4. Once you manage to locate the problematic folder, right-click on it and click on Delete from the context menu that just appeared.
  5. After you’ve done this, the next thing you should do is look for the local cache folder of the Microsoft Store (Microsoft.WindowsStore_8wekyb3d8bbwe).

    Finding the Local cache folder
  6. But instead of deleting this folder, double-click on it, then double-click on LocalCache folder.
    Accessing the Local Cache folder
  7. Once you’re inside the LocalCache folder, press Ctrl + A to select everything inside, then right-click on a selected item and click on the Delete button to clear the folder.
    Deleting the contents of the local cache folder
  8. Finally, reboot your PC and perform a DISM scan once the next startup is complete before checking if the issue is now fixed.

In case you’re still seeing the 0x800700B7 error when attempting to use the Windows Subsystem for Android on Windows 11, move down to the next potential fix below.

Perform an In-Place Repair

If none of the methods presented in this article so far have proven to be effective in your case, you can start assuming that you might actually be dealing with some kind of system file corruption that prevents your system to run the subsystem for Android.

In this case, the first thing you should try is performing a repair install.

Repair install Windows 11

Note: This operation will only touch the system files of your operating system. You get to keep your personal files, applications, games, media, and every other file present on the same partition as your operating system.

In case you already tried repair installing (in-place repairing) and you’re still dealing with the same 0x800700B7 error, move down to the next potential fix below.

Perform a Clean Install

In case you already tried repair installing and the end result was the same 0x800700B7 when you attempt to run the Windows Subsystem for Android, the last result solution is to do a clean install to ensure that no system file corruption is actually causing this problem.

But keep in mind that by doing a clean install on Windows 11 you will essentially do a complete wipe on the partition where Windows 11 is currently installed.

Clean install Windows 11

Note: If you have any important data currently stored on the same partition as where your OS is installed, take the time to back up the data in advance before you start the clean install process.

ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.