How to fix Microsoft Store error 0x87E00198?
Prefer to fix it yourself? The manual steps follow.
- 9methods
- 5 to 40 minutes
- Intermediate
Applies to Windows 11 and Windows 10; Microsoft Store, the Xbox app for PC, Gaming Services and PC Game Pass games such as Age of Empires III and As Dusk Falls
9 methods in this guide
- What the error means
- Similar codes
- Why it appears
- The fixes
- 1. Reinstall Gaming Services
- 2. Sign in again, one account
- 3. Clear the Store cache
- 4. Space, clock and network
- 5. Install updates
- 6. Repair or reset the Store
- 7. Store apps troubleshooter
- 8. Re-register the Store
- 9. Clean boot test
- Still broken
- Prevent it
- FAQ
I can't download one of the games (AOE III) from Microsoft Store. It always gets stuck at some point and will not move further. Then it shows error 0x87E00198. What can I do?
Error 0x87E00198 stops a download in Microsoft Store or the Xbox app, most often a PC Game Pass or Xbox game that stalls at a percentage. Microsoft has no page for this exact code, but its closest sibling, 0x87E00196, is a Gaming Services fault, so reinstall Gaming Services first.
0x87E00198 means a game or app download through Microsoft Store or the Xbox app failed, usually a Game Pass or Xbox PC game. Reinstall Gaming Services in Terminal (Admin) and from Microsoft Store (Fix 1), as Xbox Support does for the sibling code 0x87E00196. Then sign in to the Store and the Xbox app with one account (Fix 2) and clear the Store cache with wsreset.exe (Fix 3).
| Error | 0x87E00198 in Microsoft Store or the Xbox app, after a download stops part way. |
|---|---|
| Where it appears | On the game's or app's download line in the Store's Library or the Xbox app's install queue, while you install or update. |
| Main cause | Most often a damaged Gaming Services package, the Windows part that installs Xbox PC games. Less often a stuck Store cache or a sign-in mismatch. |
| Fastest fix | Remove Gaming Services in Terminal (Admin) and install it again from Microsoft Store (Fix 1). |
| Also written as | 0x87e00198, 0X87E00198, 87e00198, "error 198". Not the same as 0x87E00196 or 0x87E00005. |
| Affects | Windows 11 and Windows 10 with Microsoft Store and the Xbox app. Reports name Age of Empires III and As Dusk Falls. |
| Vendor status | No Microsoft or Xbox Support article for 0x87E00198 in our check on 15 October 2026. Xbox Support does document 0x87E00196 as a Gaming Services package issue. |
| Time to fix | 5 to 15 minutes for Fix 1 to Fix 3, longer when a large game has to download again. |
| About this page | An ugetfix.com guide, rewritten and checked on 15 October 2026. |
Facts checked on 15 October 2026. Steps written for Windows 11 (25H2 and 26H2) and Windows 10 22H2.
What Microsoft Store error code 0x87E00198 means
0x87E00198 is an install error from the Microsoft Store download system, which the Xbox app also uses for PC games. You see it when a game or app download stalls at some percentage and then stops. The reader's question above is typical: an Age of Empires III download got stuck and ended with the code.
Microsoft and Xbox Support publish no definition of 0x87E00198. The closest documented code is 0x87E00196, which Xbox Support says appears when you install, update or launch a Game Pass game and "means that there's an issue with your Gaming Services package". The fix order on this page follows that sibling code and the reports we read.
- Code
- 0x87E00198 (also typed 0x87e00198, 87e00198, error 198)
- Shown by
- Microsoft Store Library or the Xbox app's install queue
- When
- While a game or app downloads, installs or updates
- Code family
- 0x87E0xxxx: Store and Xbox install codes
So the code is not about your PC's hardware or your Game Pass subscription. It tells you that the install chain broke: Microsoft Store, Gaming Services, the account both apps use, or the space and connection the download needs.
0x87E00198, 0x87E00196 and 0x87E00005: codes that look alike
People who reach this page also search for 0x87E00196 and 0x87E00005. They share the 0x87E00 start, but they are separate codes. Read the exact code in the Store or the Xbox app before you choose a fix.
| Code | What Microsoft says | Start with |
|---|---|---|
| 0x87E00198 | No official article. Download or install stops part way. | Fix 1, then Fix 2 and Fix 3 |
| 0x87E00196 | Xbox Support: an issue with the Gaming Services package. Reinstall it. | Fix 1 |
| 0x87E00005 | We could not confirm a Microsoft definition for this code. | Fix 1 to Fix 3 apply the same way |

Why Microsoft Store shows 0x87E00198: the causes, ranked
Microsoft publishes no numbers for this code. The order below is our reading of the sibling code's official article and of the reports we read, from the most common cause to the rarest.
| Cause | How often | How to tell | Fix |
|---|---|---|---|
| Gaming Services is damaged or out of date. It installs and checks every Xbox PC game. | Most often | Xbox or Game Pass games fail, other Store apps install fine. | Fix 1 |
| Microsoft Store and the Xbox app are signed in with different accounts, or the sign-in token is stale. | Often | The game shows as owned in one app and not in the other. | Fix 2 |
| The Store's cache is stuck, so the same download stops again at the same point. | Often | Every retry stops at the same percentage. | Fix 3 |
| Too little free space, a wrong clock or a dropping connection breaks the download. | Sometimes | The drive is nearly full, or the PC's time is off. | Fix 4 |
| An old Store, Xbox app or Windows build, or a damaged Store app. | Rarely | Other Store apps also fail or the Store will not open. | Fix 5 to Fix 8 |
| Third-party software that blocks the download, such as a VPN or a security suite. | Rarely | The download works in a clean boot. | Fix 9 |
How to fix Microsoft Store error 0x87E00198 in Windows 11 and Windows 10
Fix 1 to Fix 3 are specific to how Store and Xbox downloads work and solve most cases. Fix 4 checks the basics a download needs. Fixes 5 to 9 are general Store repairs, in the order of how little they cost you.
| What you see or have | Start with |
|---|---|
| A Game Pass or Xbox PC game stops at a percentage and shows 0x87E00198. | Fix 1 |
| The game is owned in the Xbox app but not in the Store, or sign-in fails. | Fix 2 |
| Every retry stops at the same point, or all Store downloads fail. | Fix 3 |
| The game drive is nearly full, or the PC clock is wrong. | Fix 4 |
| Windows, the Store or the Xbox app has not updated for months. | Fix 5 |
| Microsoft Store will not open or closes at once. | Fix 6, then Fix 8 |
Fix 1. Remove Gaming Services and install it again from Microsoft Store
10 minutesLow riskA Game Pass or Xbox PC game download stops with 0x87E00198. This is the first fix for most readers.
Gaming Services is the Windows component that installs Xbox PC games. Xbox Support's answer to the sibling code 0x87E00196 is to remove the Gaming Services package and install it again, and a fresh package also clears a damaged one behind 0x87E00198.
- Close Microsoft Store, the Xbox app and any game.
- Right-click Start and select Terminal (Admin). On Windows 10 select Windows PowerShell (Admin). Select Yes.
- Paste the command below and press Enter. It removes Gaming Services for all users.
- Restart the PC.
- Open the Gaming Services page in Microsoft Store and select Get or Install. The Xbox app may also offer to install it.
- Open the Xbox app or the Store Library and start the download again.
Terminal (Admin): remove Gaming Services (Xbox Support's command)
Get-AppxPackage *gamingservices* -allusers | remove-appxpackage -allusers
Your installed games stay on the drive. They will not start until Gaming Services is back.
It worked if: Gaming Services installs again, and the download runs past the point where it stopped.
If not: If the code returns at the same point, go to Fix 2.
Fix 2. Sign out and back in with the same account in Microsoft Store and the Xbox app
5 minutesLow riskThe Store and the Xbox app may use different Microsoft accounts, or the game shows as owned in only one of them.
The Store checks your licence for the game before it downloads it. Users report that 0x87E00198 went away after they signed in to both apps with the account that owns the game or Game Pass.
- Open Microsoft Store and select your profile picture at the top.
- Note the account shown, then select Sign out.
- Open the Xbox app, select your profile picture and check which account it uses.
- Restart the PC.
- Sign in to Microsoft Store with the same account that the Xbox app uses and that holds the game or Game Pass.
- Start the download again.

It worked if: Both apps show the same account, the game is listed as owned, and the download completes.
If not: Go to Fix 3 and clear the Store cache.
Fix 3. Clear the Microsoft Store cache with wsreset
2 minutesLow riskEvery retry stops at the same percentage, or downloads of other Store apps fail too.
A stuck cache keeps old download data, so the Store tries the same broken part again and fails at the same point. wsreset clears it without removing apps or your sign-in.
- Press Win + R, type
wsreset.exeand select OK. - Wait. A blank window opens and closes by itself, then Microsoft Store opens.
- Open Library in the Store and start the download again.

It worked if: The download continues past the old stop point.
If not: Go to Fix 4 and check space, clock and connection.
Fix 4. Check free space, the clock and the connection
5 to 10 minutesLow riskThe game drive is nearly full, the PC's time looks wrong, or your Wi-Fi drops.
A download that runs out of room, cannot keep its connection, or fails the Store's secure check because of a wrong clock stops part way, which is what 0x87E00198 reports.
- Open the game's Store page and note its size. Make sure the target drive has that much free space and more.
- If space is short, free it up: Free up disk space and delete temporary files
- Press Win + I and open Time & language > Date & time. Turn on Set time automatically and select Sync now.
- Use a cable or a stronger Wi-Fi signal for a large game, and pause other big downloads.
- Turn off a VPN or proxy for the test, then retry the download.

It worked if: The drive has room, the time is correct, and the download finishes.
If not: Go to Fix 5 and update Windows and the Store apps.
Fix 5. Update Windows, Microsoft Store, the Xbox app and Gaming Services
10 to 30 minutesLow riskWindows, the Store or the Xbox app has not updated for a while.
New games can expect a newer Store, Xbox app or Gaming Services. An old one may fail the install instead of saying what is missing.
- Press Win + I and open Windows Update. On Windows 10 open Update & Security > Windows Update.
- Select Check for updates and install what is offered. Restart if asked.
- Open Microsoft Store, select Library and then Get updates.
- Let every update install, including Xbox and Gaming Services.

Windows 10 left support on 14 October 2025. The Store still runs there, but a PC with no updates can fall behind what new games expect.
It worked if: Windows Update says you are up to date, Library shows no pending updates, and the download completes.
If not: Go to Fix 6 and repair the Store.
Fix 6. Repair or reset Microsoft Store in Settings
5 minutesLow riskwsreset did not help, or the Store behaves oddly in other ways.
Repair rebuilds the Store app's own files without touching its data. Reset also clears its settings and sign-in, which removes a damaged state that a cache reset cannot reach.
- On Windows 11 open Settings > System > System components. On Windows 10 open Settings > Apps > Apps & features.
- Find Microsoft Store, select the three dots and Advanced options.
- Select Terminate, then Repair, and retry the download.
- If it still fails, select Reset, then sign in to the Store again.

Every screen of the Store repair: Reset the Microsoft Store
It worked if: The Store opens normally and the download completes.
If not: Go to Fix 7 and run the Store apps troubleshooter.
Fix 7. Run the Windows Store Apps troubleshooter
5 minutesLow riskYour Windows still lists the Windows Store Apps troubleshooter and the fixes above did not help.
The troubleshooter checks Store settings that are hard to see by hand, such as the cache folder and app permissions, and fixes what it can.
- Press Win + I and open System > Troubleshoot > Other troubleshooters. On Windows 10 open Update & Security > Troubleshoot > Additional troubleshooters.
- Find Windows Store Apps and select Run.
- Apply what it suggests, then retry the download.

It worked if: The troubleshooter reports fixed problems or none, and the download completes.
If not: Go to Fix 8 and re-register the Store.
Fix 8. Re-register Microsoft Store with PowerShell
5 minutesLow riskThe Store will not open, closes at once, or nothing above helped.
Re-registering writes the Store's app registration again from its installed files. It repairs the link between Windows and the Store that every download depends on, without removing apps.
- Right-click Start and select Terminal (Admin), or Windows PowerShell (Admin) on Windows 10. Select Yes.
- Paste the command below and press Enter. Red lines about packages in use can be ignored.
- Restart the PC and retry the download.
Terminal (Admin): re-register Microsoft Store
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}The same method for other apps, with screenshots: How to re-register Microsoft Store apps with PowerShell
It worked if: The Store opens and downloads again.
If not: Go to Fix 9 and test in a clean boot.
Fix 9. Test the download in a clean boot
15 minutesLow riskA VPN, a security suite, a network tool or a game overlay runs on the PC, and nothing above helped.
A clean boot starts Windows with only Microsoft services. If the download finishes there, a third-party program was blocking it.
A clean boot is not Safe Mode: leave Safe boot unticked, or the Store cannot download at all. Step by step: How to perform a clean boot in Windows
- Start a clean boot as the linked guide shows and restart.
- Retry the download in the Store or the Xbox app.
- If it works, turn services back on half at a time to find the program that blocks it, then update or remove it.
- Return to a normal start when you are done.
It worked if: The download finishes in the clean boot, and you know which program to update or remove.
If not: Read "If 0x87E00198 is still there" below.
If 0x87E00198 is still there
Store downloads write their failures to Windows logs. Read them right after the error, then check the drive.
- Make the error appear once more and note the time.
- Open Windows PowerShell and run
Get-AppxLog | Out-GridView. Look for red entries at that time and the game's package name. - In Event Viewer (
eventvwr.msc), open Applications and Services Logs > Microsoft > Windows > AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational for the same time. - Check the target drive: open Command Prompt as administrator and run
chkdsk D: /scan, with your drive's letter.
- When it may be hardware: the download always fails on one drive, other big files there are damaged, or chkdsk reports errors. Install to another drive as a test.
- What to send to Xbox Support: the exact code, the game, the percentage where it stops, your Windows build from Settings > System > About, and the fixes you tried.
- System files: if other Windows parts also fail, repair them: Run DISM and SFC to repair Windows system files
How to keep 0x87E00198 from coming back
- Keep Microsoft Store, the Xbox app and Gaming Services updated through Library > Get updates.
- Use one Microsoft account in Windows, the Store and the Xbox app.
- Keep enough free space on the game drive for the full game plus room for updates.
- Do not sleep, shut down or disconnect the PC while a large download runs.
- Leave the clock on Set time automatically.
Frequently asked questions
What does error code 0x87E00198 mean?
It means a download or install in Microsoft Store or the Xbox app failed part way. Microsoft has no public article for this exact code. The closest one, 0x87E00196, is documented by Xbox Support as an issue with the Gaming Services package, the part of Windows that installs Xbox PC games. That is why reinstalling Gaming Services is the first fix here. The code does not mean your PC is too weak or that your Game Pass has ended.
Why does my Game Pass game get stuck at a percentage and then show 0x87E00198?
Because the install chain broke at that point. Users report the same pattern with Age of Empires III and As Dusk Falls: the download stops at one percentage, then the code appears. The usual reasons are a damaged Gaming Services package, a stuck Store cache, or a sign-in mismatch between the Store and the Xbox app. Reinstall Gaming Services (Fix 1), sign in with one account (Fix 2), then clear the cache with wsreset (Fix 3), and retry.
Is 0x87E00198 the same as 0x87E00196?
No, they are different codes from the same family. Xbox Support says 0x87E00196 appears when you try to install, update or launch a Game Pass game and are sent to the Store page for Gaming Services, and that it means a Gaming Services package issue. Its fix is to remove Gaming Services with PowerShell and install it again. Because the two codes are so close and appear in the same place, that same repair is Fix 1 for 0x87E00198.
How do I fix Microsoft Store error code 0x87E00005?
We could not confirm a Microsoft definition for 0x87E00005, so treat it like other Store install codes. Reinstall Gaming Services if it happens with an Xbox or Game Pass game (Fix 1). Sign out of the Store and sign in again with the account that owns the item (Fix 2). Clear the cache with wsreset.exe (Fix 3), and repair or reset Microsoft Store in Settings (Fix 6). If the code stays, read the AppX log as shown in the last section.
Will reinstalling Gaming Services delete my games or saves?
No. Removing Gaming Services leaves installed games on the drive, and most Xbox PC games keep saves in the cloud with your account. The games will not start until Gaming Services is installed again, so install it from Microsoft Store right after the restart. Reset of Microsoft Store in Fix 6 also keeps your apps; it only clears the Store's own settings and signs you out of it.
What does "error 198" mean in Microsoft Store?
Short searches such as "error 198" usually mean 0x87E00198, the last three digits of the code. Check the full code in the Store's Library or the Xbox app's queue first. If it reads 0x87E00198, follow Fix 1 to Fix 3 on this page. Other programs and devices also use an "error 198" of their own, and those have nothing to do with Microsoft Store.
Does 0x87E00198 also happen on an Xbox console?
People search for "0x87e00198 xbox", but the reports we read are about Windows PCs, where Microsoft Store and the Xbox app install PC games. This page covers Windows 11 and Windows 10. On a console, the steps here do not apply. Use the Xbox Support site and its error code lookup for the code you see on the console.
I tried everything and the download still fails. What else can I do?
Find out where it fails. Run Get-AppxLog in PowerShell right after the error, or read the AppXDeployment-Server log in Event Viewer for that time. Run chkdsk with the /scan switch on the target drive, and install to another drive as a test. If it still fails, contact Xbox Support with the code, the game, the percentage where it stops, your Windows build and the fixes you tried.
What if I searched for this error in another language?
This page is in English and covers one error, 0x87E00198 in Microsoft Store and the Xbox app on Windows. People reach it with short questions in Arabic, Russian, Turkish and other languages, such as "what is the reason", "how to fix" or "which picture". The answer is the same: the download chain broke, most often in Gaming Services. Reinstall Gaming Services (Fix 1), sign in to both apps with one account (Fix 2) and clear the Store cache (Fix 3). The chart near the top shows where to start.
Sources
Did this fix work?
One click, no account. It tells the next reader which guides are worth their time.
Questions and experiences: fix Microsoft Store error 0x87E00198
Still broken, or found a fix we did not cover? Ask here: members and our editors answer. Reading is open; writing needs a free account.
…