🛒 Best Price Today on Amazon
Prime members get fast, free shipping on everything above, plus member-only deals. New members get a 30-day free trial — cancel anytime.
As an Amazon Associate we earn from qualifying purchases.
You click Install in the Xbox app, and instead of a download bar you get a short error box: 0x80070005. The game never starts downloading, the Xbox app offers no explanation, and trying the same button again produces the same code. The code looks cryptic, yet it carries a precise meaning. Windows refused a write request while the Xbox app or the Microsoft Store tried to place files on your drive, so the install stopped before it began.
This guide fixes that error on a Windows PC only, using Microsoft’s own troubleshooting for the Xbox app, the Microsoft Store, and Gaming Services. Every step below is reversible, and the order matters: the quick checks come first, the Gaming Services Repair Tool comes next, and the deeper permission work comes last. If you are seeing this code on a physical Xbox console, stop here, because none of the Windows steps in this guide apply to a Series X, Series S, or Xbox One.
Quick Answer
Error 0x80070005 means access denied: Windows blocked the Xbox app or the Microsoft Store from writing game files to your drive. On a PC, restart Windows from Start, then Power, then Restart, and sign in with the same Microsoft account in both the Xbox app and the Microsoft Store. Install pending Windows updates, update everything in the Store Library, and reset the Store cache with wsreset.exe. Next, run the Gaming Services Repair Tool from the Xbox app, under your profile picture, then Support, and restart the PC again. Microsoft also names third-party antivirus as a cause for this code, so temporarily switch off real-time protection, retry the install, and switch protection back on immediately. If the code still appears, repair the Xbox app from Windows Settings before touching folder ownership or system permissions.
How to Choose
Four checks decide which fix will work, so run through them before changing anything.
PC or Console First
The first decision is which machine shows the code, because the same digits mean different jobs on different hardware. On a Windows PC, 0x80070005 is a Windows permission problem: the Xbox app, the Microsoft Store, or Gaming Services could not write to a folder on your drive. On a Series X, Series S, or Xbox One, there is no WindowsApps folder to repair and no Gaming Services Repair Tool to run, so the PC steps in this guide cannot help. Console owners should restart the console, check storage space and the account signed in on the console, and then contact Xbox Support if the code stays. That split matters.
Account and Install Location
Access denied often starts with a mismatch rather than a broken file. The Xbox app and the Microsoft Store can each hold a different signed-in account, and a game bought on one account will not install cleanly when the other app is signed in somewhere else. Open both apps and confirm the same Microsoft account appears in each, then look at where the game is supposed to land. A drive that is full, formatted in a way Windows cannot use for Store games, or holding a folder you created by hand can all trigger the same code. When the account matches and the drive has room, you have ruled out the two cheapest causes.
Gaming Services Health
Gaming Services is the background component that installs and updates Xbox games from the Microsoft Store, and when it is damaged the Xbox app fails with permission errors instead of a clear message. A stalled update, a half-finished install, or a Windows update that changed something underneath it can all leave Gaming Services in a broken state. The symptom to watch for is breadth: one game failing points at that game, while every Game Pass install failing the same way points at Gaming Services or the Store itself. Microsoft built a dedicated repair tool for exactly this component, which is why it sits near the front of the fix ladder instead of buried at the end.
Security Software Interference
Microsoft’s own troubleshooting for this code names third-party antivirus as a cause, and that detail changes how you should test. Security software can mistake a game installer for a threat and block the write, which produces an access denied error even though your account and folders are fine. The safe test is short and controlled: switch off real-time protection, try the install once, and switch protection back on right away, whether the install worked or not. If the install succeeds with protection off, add the Xbox app, Gaming Services, and the game folder as exclusions instead of leaving protection off. Never browse or download with protection switched off.
Fix Xbox Error 0x80070005 on PC, Step by Step
Work through these steps in order, and retry the install after each one. Stopping at the first step that works keeps you from changing settings that were never the problem.
1. Restart Windows properly. Open the Start menu, choose Power, and select Restart. A full restart clears locked files and stalled services that a shutdown can leave behind. Wait for the desktop to settle, open the Xbox app, and try the install again before touching anything else.
2. Use the same Microsoft account in both apps. Open the Xbox app and check the account shown under your profile picture, then open the Microsoft Store and check the account there. If they differ, sign out of the wrong one and sign back in with the account that owns the game or the Game Pass subscription. A mismatch here blocks installs even when everything else on the PC is healthy.
3. Install Windows and Store updates. Go to Settings, then Windows Update, then Check for updates, and install everything offered. Next, open the Microsoft Store, go to Library, and choose Get updates so the Xbox app and Gaming Services update alongside everything else. An outdated Store component can refuse an install that a current one handles cleanly, so install every update, then restart if Windows asks.
4. Reset the Microsoft Store cache. Press the Windows key plus R, type wsreset.exe, and press Enter. A blank Store window opens and closes on its own. This step removes stale Store data without touching your installed apps or games, and it often clears the error when the Store itself is the piece refusing the write. Try the install again once the window has closed.
5. Run the Gaming Services Repair Tool. Open the Xbox app, click your profile picture, choose Support, then select Gaming Services Repair Tool and choose Start Troubleshooting. Let the tool finish, then restart the PC. This is Microsoft’s dedicated tool for Gaming Services problems, so run it before attempting any manual repair. On Windows 10 version 22H2 or older, the tool may need you to be signed in as a local administrator.
6. Repair the Xbox app, then reset it. Open Windows Settings, go to Apps, then Installed apps, find Xbox, and open Advanced options. Choose Repair first and wait for the check mark, then try the install. If the error stays, return to the same screen and choose Reset, which clears the app’s data and signs you out. Repair before Reset matters, because Reset wipes settings that Repair leaves alone.
7. Test with antivirus real-time protection off. Microsoft names third-party antivirus as a cause for this code, so this step is a diagnostic test, not a permanent change. Switch off real-time protection, try the install once, and switch protection back on immediately afterward. If the install works with protection off, add exclusions for the Xbox app, Gaming Services, and the game folder, then leave protection on. If the install still fails, protection was not the cause.
8. Let the Xbox app create the install folder. If you made an XboxGames folder by hand on the install drive, the Xbox app can reject it. Rename that manual folder, then open the Xbox app, go to your profile picture, then Settings, then General, and choose the drive itself under Game install options. The app creates its own folder on that drive with the permissions it expects, which a hand-made folder may lack. Retry the install on that drive.
9. Try a different drive. If another drive has room, pick it as the install location in the Xbox app settings and retry. A drive that works for documents can still refuse Store installs when its permissions or format do not match what Gaming Services expects, and a successful install on a second drive narrows the fault to the first drive instead of the app.
10. Stop here and contact Xbox Support. If every step above has failed, the fault sits deeper than the app, the Store, or Gaming Services, and guessing at folder ownership or registry permissions can make the PC harder to fix. Microsoft Q&A raises a security-policy reset as a last-resort suggestion, but it is not a first step, and it should not be attempted without guidance. Contact Xbox Support with the exact code and the steps you already tried.
Which One Fits Your Situation
Match your symptom to one of these four situations, and start with the steps it points to.
The Code Appears for One Game Only
When a single game fails while others install cleanly, the fault usually sits with that game’s files or its install folder. Run the early steps for that game alone: restart, check the account, and update the Store, then try the install again. If it still fails, let the Xbox app create a fresh folder on the drive and retry. Skip the deeper system steps, because a problem that touches one game rarely lives in Windows itself.
The Code Appears for Every Install
When every install fails with the same code, the fault sits above any single game, so aim at the shared pieces. Run the Gaming Services Repair Tool first, then repair the Xbox app and reset the Store cache. Check the antivirus test next, since security software can block every write the same way. Only after those shared pieces are healthy should you look at the drive itself or ask Xbox Support for help.
The Xbox App Itself Will Not Open or Update
When the Xbox app will not open, or it refuses its own update, start with Windows and the Store instead of the game. Install pending Windows updates, update everything in the Store Library, and reset the Store cache with wsreset.exe. Then repair the Xbox app from Windows Settings, and reset it if Repair changes nothing. Once the app opens and updates cleanly, the game install usually follows.
You Are on a Console, Not a PC
When the code appears on a Series X, Series S, or Xbox One, put this guide aside. The console has no Xbox app repair screen, no Gaming Services Repair Tool, and no WindowsApps folder, so none of the steps above can run there. Restart the console, check that storage has room and the account is signed in, and try the install again. If the code stays, contact Xbox Support, because the console path is separate.
Common Mistakes
These five mistakes turn a short fix into a long one.
- Applying PC fixes to a console. The Windows steps in this guide cannot run on a Series X, Series S, or Xbox One, so using them there wastes time and can hide the real console fault.
- Taking ownership of protected folders first. Changing ownership or registry permissions is a deep change that can break other apps, and it should never be the opening move for an install error.
- Creating the XboxGames folder by hand. A manual folder can carry the wrong permissions, so the Xbox app rejects it. Rename the manual folder and let the app create its own on the drive you choose.
- Leaving antivirus protection off. Switching protection off is a short diagnostic test. Turn it back on right after the retry, and use exclusions for the Xbox app and Gaming Services if the test points at security software.
- Starting with a security-policy reset. Microsoft Q&A mentions a security-policy reset only as a last resort, after the repair tool and the app repair have both failed. Opening with it risks wider damage for a fault that usually sits much closer to the surface.
Frequently Asked Questions
What does Xbox error 0x80070005 mean on PC?
On a PC, the code means access denied: Windows refused a write request while the Xbox app, the Microsoft Store, or Gaming Services tried to place game files on your drive. The game itself is usually fine, and the install stopped because a permission, a security block, or a damaged service got in the way. That is why the fix ladder starts with accounts, updates, and the repair tool.
Why does the error keep coming back after a restart?
A restart clears locked files and stalled services, but it cannot fix a damaged Gaming Services install or a security product that blocks every write. If the code returns right after a restart, run the Gaming Services Repair Tool, then test with real-time protection off for one install attempt. One of those two steps usually finds the cause that a restart cannot reach.
Can I use these steps on an Xbox console?
No. These steps rely on Windows, the Microsoft Store, and Gaming Services, and none of those exist on a Series X, Series S, or Xbox One. On a console, restart the system, check storage room and the signed-in account, and try the install again. If the code stays, contact Xbox Support for the console path, since the console fix is separate from the PC one.
I typed 0x800700005. Is that the same error code?
No. The documented code is 0x80070005, and the version with an extra zero is a typing slip, not a separate error. Searching for the longer string leads to the wrong guidance, so check the code character by character before looking it up. If the box on your screen shows 0x80070005, follow this guide; if it shows a different code entirely, look up that code instead.