FIX: Microsoft.XboxGamingOverlay Deployment failed with HRESULT 0x80073D02 (Solved)
On a Windows 10 based machine, the XBOX Gaming app couldn't be installed (re-registered) by using the "Add-AppxPackage" PowerShell command, with error: "Microsoft.XboxGamingOverlay Deployment Deployment failed with HRESULT 0x80073D02. The package could not be installed because resources it modifies are currently in use" (Event ID 401, 404, 419).
The deployment error 0x80073D02 can appear, when you try to re-register all the Windows 10 built-in apps* or, when you try to register only the "Xbox" Gaming app**:
* To register (reinstall) all the built-in apps at the current user:
- Get-AppxPackage | Foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
** To re-register (re-install) only the 'Xbox' app at the current user:
- Get-AppxPackage Microsoft.XboxApp | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
This tutorial contains instructions to fix the following errors in PowerShell and Event Viewer, after executing the "Add-AppxPackage" command, to re-install the 'Xbox' Gaming App, in Windows 10:
PowerShell XboxGamingOverlay Error 0x80073D02 :
- "Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use.
error 0x80073D02: Unable to install because the following apps need to be closed
Microsoft.XboxGamingOverlay_1.16.1012.0_x64__8wekyb3d8bbwe."
Event Viewer XboxGamingOverlay Error 0x80073D02 :
(Applications and Services Logs\Microsoft\Windows\AppXDeploymentServer\Microsoft-Windows-AppXDeploymentServer/Operational):
- Event ID 419: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.XboxGamingOverlay_1.16.1012.0_x64__8wekyb3d8bbwe..
- Event ID 401: Deployment Register operation with target volume C: on Package Microsoft.XboxGamingOverlay_1.16.1012.0_neutral_~_8wekyb3d8bbwe from: (AppxBundleManifest.xml) failed with error 0x80073D02. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues..
- Event ID 404: AppX Deployment operation failed for package Microsoft.XboxGamingOverlay_1.16.1012.0_neutral_~_8wekyb3d8bbwe with error 0x80073D02. The specific error text for this failure is: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.XboxGamingOverlay_1.16.1012.0_x64__8wekyb3d8bbwe.
How to Fix: Microsoft.XboxGamingOverlay Deployment Failed with Error: 0x80073D02
The error "Microsoft.XboxGamingOverlay Deployment failed with HRESULT: 0x80073D02" appears, because the XBox Gaming app is running at the time of executing the "Add-AppxPackage" command.
So, the only way to bypass the error "0x80073D02", is to close the "XBox" app, by using the task manager and then to immediately run the "Add-AppxPackage" command. To do that:
1. Open PowerShell as Administrator and copy/paste the below "Get-AppXPackage" command, to re-install the 'Xbox' gaming app, but DO NOT press Enter yet.
- Get-AppxPackage Microsoft.XboxApp | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
2. Then press Ctrl+ALT+DEL and open Task Manager.
3. (Now you have to be a little fast…)
1. At the Processes tab, right-click at all Xbox processes and click End Task.
2. Then, click immediately at the PowerShell window and press Enter.
4. Normally now, the Xbox Gaming App will be reinstalled without an error.
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
We're hiring
We're looking for part-time or full-time technical writers to join our team! It's about a remote position that qualified tech writers from anywhere in the world can apply. Click here for more details.
- FIX: Windows Security Not Working in Windows 11. - March 28, 2024
- Fix 'Device Manager is Blocked by Administrator'. (Solved) - March 26, 2024
- How to Run a Program as Different user in Windows 11/10. - March 21, 2024
Grimish
July 13, 2021 @ 10:52 pm
This solution worked flawlessly! Impressed and I'm not easily impressed; but resolving some obscure issue which most people may not notice or even care about is a big deal in the IT industry.