Skip to content

How to Fix Error Code 0x80D02017 on Microsoft Store

Are you getting an error code 0x80D02017 on the Microsoft Store?

Here’s the error message, “Something unexpected happened”.

Followed by, “Reporting this problem will help us understand it better”.

And, “You can wait a bit and try again or restart your device. That may help”.

The error message happens when you try to download an app like Xbox on the Microsoft Store.

In this guide, you’ll learn how to fix Error Code 0x80D02017 on the Windows Microsoft Store on a Windows PC.

How to Fix Error Code 0x80D02017 on Microsoft Store

Fix 1: Set date and time automatically

  1. Search for “Date & time settings” using Windows Search and open it.
  2. Turn on “Set time zone automatically”.
  3. Turn on “Set time automatically”.

Fix 2: Run WSRESET command

  1. Search for “WSRESET” using Windows Search and run it.
  2. Wait for the black screen to go away.
  3. Microsoft Store will open and you can try installing the app again.

Fix 3: Repair or reset Microsoft Store

  1. Search for “Microsoft Store” using Windows Search.
  2. Right-click “Microsoft Store” and select “App settings”.
  3. Scroll down and click on the “Repair” button.
  4. Click on the “Reset” button.

Fix 4: Run a PowerShell command

  1. Search for “PowerShell” using Windows Search.
  2. Right-click “Windows PowerShell” and select “Run as administrator”.
  3. Paste this command and press enter:
  4. Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Fix 5: Delete Microsoft Store’s cache

  1. Search for “%localappdata%” using Windows Search and open it.
  2. Open the “Packages” folder.
  3. Open the “Microsoft.WindowsStore_xxx” folder.
  4. Delete the “LocalCache” folder.

Fix 6: Get Microsoft Store updates

  1. Search for “Microsoft Store” using Windows Search and open it.
  2. Select “Library” on the left sidebar.
  3. Click on the “Get updates” button.
  4. Select “Update all”.

Fix 7: Start some services

  1. Search for “Services” using Windows Search and open it.
  2. Scroll down to “Windows Update” and double-click it.
  3. Set the startup type to “Automatic” > Start > Apply > OK.
  4. Select “Restart the service” on the left sidebar.
  5. Scroll up to “Microsoft Store Install Service” and double-click it.
  6. Set the startup type to “Automatic” > Start > Apply > OK.
  7. Select “Restart the service” on the left sidebar.

Fix 8: Update Windows

  1. Search for “Check for updates” using Windows Search and open it.
  2. Click on the “Check for updates” button.
  3. Update Windows and restart your computer.

Fix 9: Uninstall and reinstall Microsoft Store

  1. Search for “PowerShell” using Windows Search.
  2. Right-click “Windows PowerShell” and select “Run as administrator”.
  3. Paste this command and press enter:
  4. Get-AppxPackage -allusers *WindowsStore* | Remove-AppxPackage
  5. Restart your computer.
  6. Search for “PowerShell” using Windows Search.
  7. Right-click “Windows PowerShell” and select “Run as administrator”.
  8. Paste this command and press enter:
  9. Get-AppxPackage -allusers WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

Fix 10: Run inetcpl.cpl command

  1. Search for “inetcpl.cpl” using Windows Search and open it.
  2. Select “Advanced” and scroll down.
  3. Enable “Use TSL 1.0, 1.1, 1.2, and 1.3” > Apply > OK.

Fix 11: Update Windows using Media Creation Tool

Fix 12: Download the app from a third-party site

  1. Copy the link of the app that you want to download from the Microsoft Store.
  2. Go to store.rg-adguard.net and paste the link.
  3. Download the “.msixbundle” file of the app (the one with the biggest size).
  4. Click on the three dots of the download, select “Keep”, and select “Keep anyway”.
  5. Open the file, select “Install”, and open the app.

Note: If you can’t download the “.msixbundle” file, try using another browser like Microsoft Edge.

Further reading

How to Fix Xbox App for PC Not Installing

How to Fix Error Code 0x803FB005 on Microsoft Store

How to Fix “Your transaction cannot be completed because you have another pending transaction on your account” on Steam