Trên máy chạy Windows 10, ứng dụng XBOX Gaming không thể cài đặt (đăng ký lại) bằng lệnh "Add-AppxPackage" PowerShell, với lỗi: "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).
Lỗi triển khai 0x80073D02 có thể xuất hiện khi bạn thử đăng ký lại tất cả ứng dụng tích hợp sẵn Windows 10* hoặc khi chỉ đăng ký ứng dụng "Xbox" Gaming**:
* Để đăng ký (cài đặt lại) tất cả ứng dụng tích hợp sẵn cho người dùng hiện tại:
- Get-AppxPackage | Foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
** Để đăng ký lại (cài đặt lại) chỉ ứng dụng 'Xbox' cho người dùng hiện tại:
- Get-AppxPackage Microsoft.XboxApp | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Hướng dẫn này chứa hướng dẫn khắc phục các lỗi sau trong PowerShell và Event Viewer, sau khi thực thi lệnh "Add-AppxPackage" để cài đặt lại ứng dụng 'Xbox' Gaming, trong Windows 10:
Lỗi PowerShell XboxGamingOverlay 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."
Lỗi Event Viewer XboxGamingOverlay 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 https://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.
Cách khắc phục: Microsoft.XboxGamingOverlay triển khai thất bại với lỗi: 0x80073D02
Lỗi "Microsoft.XboxGamingOverlay Deployment failed with HRESULT: 0x80073D02" xuất hiện vì ứng dụng XBox Gaming đang chạy tại thời điểm thực thi lệnh "Add-AppxPackage".
Vì vậy, cách duy nhất để vượt qua lỗi "0x80073D02" là đóng ứng dụng "XBox" bằng Task Manager và sau đó ngay lập tức chạy lệnh "Add-AppxPackage". Thực hiện như sau:
1. Mở PowerShell với quyền Administrator và sao chép/dán lệnh "Get-AppXPackage" dưới đây để cài đặt lại ứng dụng 'Xbox' gaming, nhưng KHÔNG nhấn Enter ngay.
- Get-AppxPackage Microsoft.XboxApp | Foreach{Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
2. Sau đó nhấn Ctrl+ALT+DEL và mở Task Manager.
3. (Bây giờ bạn phải hơi nhanh…)
1. Ở tab Processes, chuột phải vào tất cả tiến trình Xbox và chọn End Task.
2. Sau đó, nhấp ngay lập tức vào cửa sổ PowerShell và nhấn Enter.

4. Thông thường bây giờ, ứng dụng Xbox Gaming sẽ được cài đặt lại mà không báo lỗi.
Đó là xong! Hãy cho tôi biết hướng dẫn này có giúp ích cho bạn không bằng cách để lại bình luận về trải nghiệm của bạn. Vui lòng like và chia sẻ hướng dẫn này để giúp đỡ người khác.