Remove Xbox App
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Windows onlyThis script improves your privacy on Windows
- Impact: HighSystem Functionality Loss Risk: High
This action improves privacy with high impact when you run the recommended script. - Batch (batchfile)These changes use Windows system commands to update your settings.
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script removes the Xbox app from Windows to protect your privacy by stopping the collection of gaming activities and personal information.
The Xbox app is Microsoft's central gaming application for Windows that manages PC games and Xbox-related services 1 2.
The Xbox app serves as:
- A central platform for PC gaming through:
- A gaming profile hub for:
- A streaming platform that enables:
The Xbox app collects and shares personal information with Microsoft and third-party game publishers 2. It gathers data including:
- Personal information like account details 2
- Hardware and software information about your device 2
- Gaming activities and communications 2
- Camera and microphone data when enabled 2
The Xbox app has broad system permissions:
- Hardware access:
- File system access:
- Application control:
- Network access:
Removing this app increases your security by reducing your attack surface against potential exploits.
It may also improve system performance by stopping background processes and freeing up system resources.
However, this app is required for Xbox Game Pass titles 2. Removing it will prevent access to Xbox Game Pass and its gaming features 2.
See also: Microsoft Store Page
This script may prevent access to Xbox games. Consider keeping this app if you use Xbox gaming services.
Overview of default preinstallation
This app comes pre-installed on certain versions of Windows 3 4.
OS | Version | Existence |
---|---|---|
Windows 10 | 19H2 | ❌ |
Windows 10 | 20H2 | ❌ |
Windows 10 | 21H2 | ❌ |
Windows 10 | 22H2 | ❌ |
Windows 11 | 21H2 | ✅ |
Windows 11 | 22H2 | ✅ |
Windows 11 | 23H2 | ✅ |
This script should only be used by advanced users.
This script is not recommended for daily use as it breaks important functionality.
Consider creating a system restore point before doing any changes.
Sources
- Xbox - Free download and install on Windows. Microsoft Store. apps.microsoft.com. (2025).
Original: https://apps.microsoft.com/detail/9mv0b5hzvk9z?hl=en-us&gl=US - All about the Xbox app for Windows. Xbox Support. support.xbox.com. (2025).
Original: https://support.xbox.com/en-US/help/games-apps/game-setup-and-play/about-xbox-app-for-windows
Archived: https://web.archive.org/web/20250124130642/https://support.xbox.com/en-US/help/games-apps/game-setup-and-play/about-xbox-app-for-windows - List of installed apps: Windows 11. TAS Research Report: Desktop Windows Optimisation. www.sita.co.za. (2024).
Original: https://www.sita.co.za/sites/default/files/documents/Product_Certification/TASRR40_Windows_optimisation.pdf
Archived: https://web.archive.org/web/20240613063743/https://www.sita.co.za/sites/default/files/documents/Product_Certification/TASRR40_Windows_optimisation.pdf - Windows 11 PC gaming features: Xbox Game Pass, auto HDR, and more. Polygon. www.polygon.com. (2025).
Original: https://www.polygon.com/22548822/windows-11-xbox-game-pass-pc-auto-hdr-directstorage
Archived: https://web.archive.org/web/20250131163657/https://www.polygon.com/22548822/windows-11-xbox-game-pass-pc-auto-hdr-directstorage
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Remove Xbox App" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Remove Xbox App" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Remove Xbox App
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Uninstall 'Microsoft.GamingApp' Store app
PowerShell -ExecutionPolicy Unrestricted -Command "Get-AppxPackage 'Microsoft.GamingApp' | Remove-AppxPackage"
:: Mark 'Microsoft.GamingApp' as deprovisioned to block reinstall during Windows updates.
:: Create "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.GamingApp_8wekyb3d8bbwe" registry key
PowerShell -ExecutionPolicy Unrestricted -Command "$keyPath='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.GamingApp_8wekyb3d8bbwe'; $registryHive = $keyPath.Split('\')[0]; $registryPath = "^""$($registryHive):$($keyPath.Substring($registryHive.Length))"^""; if (Test-Path $registryPath) { Write-Host "^""Skipping, no action needed, registry path `"^""$registryPath`"^"" already exists."^""; exit 0; }; try { New-Item -Path $registryPath -Force -ErrorAction Stop | Out-Null; Write-Host "^""Successfully created the registry key at path `"^""$registryPath`"^""."^""; } catch { Write-Error "^""Failed to create the registry key at path `"^""$registryPath`"^"": $($_.Exception.Message)"^""; }"
Ijo6IFJlaW5zdGFsbCAnTWljcm9zb2Z0LkdhbWluZ0FwcCcgaWYgaXQgd2FzIHByZXZpb3VzbHkgdW5pbnN0YWxsZWRcblBvd2VyU2hlbGwgLUV4ZWN1dGlvblBvbGljeSBVbnJlc3RyaWN0ZWQgLUNvbW1hbmQgXCIkcGFja2FnZU5hbWU9J01pY3Jvc29mdC5HYW1pbmdBcHAnOyAkcHVibGlzaGVySWQ9Jzh3ZWt5YjNkOGJid2UnOyBpZiAoR2V0LUFwcHhQYWNrYWdlIC1OYW1lICRwYWNrYWdlTmFtZSkgeyBXcml0ZS1Ib3N0IFwiXlwiXCJTa2lwcGluZywgYFwiXlwiXCIkcGFja2FnZU5hbWVgXCJeXCJcIiBpcyBhbHJlYWR5IGluc3RhbGxlZCBmb3IgdGhlIGN1cnJlbnQgdXNlci5cIl5cIlwiOyBleGl0IDA7IH07IFdyaXRlLUhvc3QgXCJeXCJcIlN0YXJ0aW5nIHRoZSBpbnN0YWxsYXRpb24gcHJvY2VzcyBmb3IgYFwiXlwiXCIkcGFja2FnZU5hbWVgXCJeXCJcIi4uLlwiXlwiXCI7IDwjIEF0dGVtcHQgaW5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cnlQYXRoYFwiXlwiXCIuXCJeXCJcIjsgaWYgKC1ub3QgKFRlc3QtUGF0aCAtTGl0ZXJhbFBhdGggJHJlZ2lzdHJ5UGF0aCkpIHsgV3JpdGUtSG9zdCBcIl5cIlwiU2tpcHBpbmcsIG5vIGFjdGlvbiBuZWVkZWQsIHJlZ2lzdHJ5IGtleSBgXCJeXCJcIiRyZWdpc3RyeVBhdGhgXCJeXCJcIiBkb2VzIG5vdCBleGlzdC5cIl5cIlwiOyBleGl0IDA7IH07IHRyeSB7IFJlbW92ZS1JdGVtIC1MaXRlcmFsUGF0aCAkcmVnaXN0cnlQYXRoIC1Gb3JjZSAtRXJyb3JBY3Rpb24gU3RvcCB8IE91dC1OdWxsOyBXcml0ZS1Ib3N0IFwiXlwiXCJTdWNjZXNzZnVsbHkgcmVtb3ZlZCB0aGUgcmVnaXN0cnkga2V5IGF0IHBhdGggYFwiXlwiXCIkcmVnaXN0cnlQYXRoYFwiXlwiXCIuXCJeXCJcIjsgfSBjYXRjaCB7IFdyaXRlLUVycm9yIFwiXlwiXCJGYWlsZWQgdG8gcmVtb3ZlIHRoZSByZWdpc3RyeSBrZXkgYXQgcGF0aCBgXCJeXCJcIiRyZWdpc3RyeVBhdGhgXCJeXCJcIjogJCgkXy5FeGNlcHRpb24uTWVzc2FnZSlcIl5cIlwiOyB9XCIi
Help
How to apply or restore "Remove Xbox App" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.These plans combine multiple privacy settings, including this one, for stronger protection.
- Remove Xbox
- Remove bloatware
This category removes Xbox-related applications and disables associated services from Windows to enhance privacy and system performance. Xbox application...
Same Goal
Other guides in Remove Xbox See settings that are in the same category as this guide.Using other actions in the same category may help you achieve your goal better.
See all 9 guides
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
- Audited and verified using automated security tests
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
- Audited and verified using third-party security software
History
We continually monitor our guides, their impact and other potential privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.