Exception from HRESULT: 0x80070002

Hello,
When I try to download MSFS from Microsoft Store I receive following error: Exception from HRESULT 0x80070002.
Thanks in advance,
Daniel

Hello
I imagine it is a clean installation…?
If so, run the Xbox application>Sign in>enter my library>Select MSFS and download.
If this is not the solution, let me know and I will be happy to help you.

1. Restart the Microsoft Store and Clear Cache

  1. Close Microsoft Store:
  • Ensure that Microsoft Store is completely closed.
  1. Run WSReset:
  • Press Windows + R to open the Run dialog box.
  • Type wsreset.exe and press Enter.
  • This will clear the Windows Store cache and may resolve related download issues.

2. Check Date and Time Settings

  • Ensure that your system date and time are correctly set.
  • Go to Settings > Time & Language > Date & Time and make sure the settings are correct.

3. Run the Windows Store Troubleshooter

  1. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters.
  2. Select Windows Store Apps and run the troubleshooter.

4. Update Microsoft Store

  • Open Microsoft Store.
  • Click on the three dots in the top right corner and select Downloads and updates.
  • Click Get updates to ensure you have the latest version of the store.

5. Restart Windows Update Services

  1. Open Command Prompt as an administrator.
  2. Run the following commands one by one:

sh

Copiar código

net stop wuauserv
net stop bits
net stop cryptsvc
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start bits
net start cryptsvc

6. Check for Windows Updates

  1. Go to Settings > Update & Security > Windows Update.
  2. Check for updates and install them.

7. Run System File Checker (SFC) and DISM

  1. Open Command Prompt as an administrator.
  2. Run the command:

sh

Copiar código

sfc /scannow
  1. Wait for the process to finish, then run the following DISM commands one by one:

sh

Copiar código

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

8. Reinstall Microsoft Store

  1. Open Windows PowerShell as an administrator.
  2. Run the following command to reinstall Microsoft Store:

sh

Copiar código

Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage
Get-AppxPackage -allusers *WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

9. Check Disk Space and Folder Permissions

  • Ensure you have sufficient disk space for the installation.
  • Verify that the folders where downloads and installations are stored have the correct permissions.

Thanks for your answer, unfortunately none of the above works for me.

Hi @Daniel67244 ,
Is Gaming Services up-to-date?
Current versions on my PC (Windows 11):
2406.1001.20.0 (Xbox)
22.90.5001.0 (Gaming Services)
7.124.5142.0 (Game Bar)

You can view these version in the Xbox App by clicking on your user icon in the top left-hand corner, then choosing Settings | About

If they are out-dated, you can update them in the MS Store | Library.

Hello @SmotheryVase665, I have exactly same numbers as you do, so I guess Gaming Services are up-to-date.

If the Xbox application fails, you can try your tool.

https://support.xbox.com/en-US/help/games-apps/troubleshooting/gaming-services-repair-tool

Click on Downloadable version