Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to Remove the Xbox Game Bar with Powershell on Windows 10

You've probably stumbled upon this researching how to remove the Xbox Game Bar. This gist includes a few different methods you can try. Please note that some of these options may not be available depending on the version of Windows 10.

Uninstalling/Removing the Game Bar (old Windows 10 build GUI options)

(this is no longer an option on any recent Windows 10 build)

  1. Press Windows Key or click on the Start menu.
  2. Start typing Xbox or Game Bar, until you get the Xbox Game Bar app to appear in the results.
  3. Right-click on the app and pick Uninstall. Answer Yes to the prompt, and wait for the process to finish.

Windows Build 19H1 (uninstall moved into Settings)

You might not have an Uninstall option in the right-click context menu. Try drilling into Settings and looking there.

  1. Press Windows Key or click on the Start menu.
  2. Start typing Xbox or Game Bar, until you get the Xbox Game Bar app.
  3. Right click on Xbox Game Bar and click Settings
  4. Scroll down and click Uninstall. Wait for the process to finish.

Windows Build 19H1/19H2 (uninstall button is now grayed out)

On my machine running Windows Build 10.0.18362 the uninstall button is grayed out. The button I'm referring to is here: Xbox Game Bar > Right Click > App Settings > Uninstall.

Game Bar Settings

Depending on why you're trying to remove the Game bar, you might also try changing the Game bar settings.

Go to Search > "game bar settings".

  1. For the option that says Record game clips, screenshots, and broadcasting using Game Bar move the slider to the Off position. This should stop the default Win+G shortcut from opening the Game bar.

  2. If you need Win+G for a different application (I ran into this), you should be able to change the shortcut, and you're done! Go to Search > "game bar settings" > Game bar > Keyboard shortcuts. I verified this on my Surface Pro 1903/19H1/18362.

Removing Microsoft.Xbox* AppXPackage using PowerShell and DISM (short version)

Can't find a way to uninstall the Game Bar using the GUI? The DISM tool and PowerShell might do the trick.

DISM is a Deployment Image Servicing and Management tool. You can use DISM from an elevated (admin) PowerShell prompt.

1. Open Windows PowerShell as an administrator (Windows Key > Start typing "PowerShell" > CTRL + SHIFT + ENTER)

2. First run dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox to see what xbox packages are actually on your system.

 dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox

You can try to run the following command which will get the AppXPackages matching on xbox and attempt to remove them. There are several commands stringed together (thanks @bashenk for your help on this).

You can try this through DISM, or PowerShell. Either one should do the trick, pick one.

3a. DISM version:

dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | ForEach-Object {$_.Line.Split(':')[1].Trim()} | ForEach-Object { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}

3b. PowerShell cmdlet version:

Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }

If you want to remove packages for other users, you will need to pass in the -allusers parameter like so:

Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -AllUsers -PackageName $_.PackageName }

4. Verify

Ok - let's see if the xbox packages are still there. Search for the xbox packages again. If there are no results, the respective appxpackages were removed.

dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox

Struggling removing certain Xbox packages like the XboxGamingOverlay?

@Svenster64 commented that they had issues on build 1909 removing the XboxGamingOverlay. Here is the PowerShell command that helped them:

Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage

Removing Microsoft.Xbox* AppXPackage using PowerShell and DISM (long and manual version)

This section expands on the short versions. It goes through separate commands instead of stringing commands together. Read this if you're interested in what all the commands do.

Step 1. Remove AppxPackages from current user.

Open PowerShell as your current user (not as an administrator).

Identify user by running $env:Username:

PS C:\Users\josh> $env:Username
josh

Get list of xbox AppxPackages using Get-AppxPackage:

PS C:\Users\josh>  Get-AppxPackage | select-string xbox

Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe
Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy
Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
Microsoft.XboxGamingOverlay_3.34.15002.0_x64__8wekyb3d8bbwe
Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

Step 2. Build your remove script using package names discovered in Step 1.

Which might look something like this:

Remove-AppxPackage Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy
Remove-AppxPackage Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxGamingOverlay_3.34.15002.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

Run:

PS C:\Users\josh> Remove-AppxPackage Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe
PS C:\Users\josh> Remove-AppxPackage Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
PS C:\Users\josh> Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy from:
C:\WINDOWS\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2txyewy failed. This app is part of Windows and cannot be
uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows
Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 1e9e759c-9d2e-0000-74d3-a31e2e9dd501 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 1e9e759c-9d2e-0000-74d3-a31e2e9dd501
At line:1 char:1
+ Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.18362.449.0_neut ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.XboxG...l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

PS C:\Users\josh> Remove-AppxPackage Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
PS C:\Users\josh> Remove-AppxPackage Microsoft.XboxGamingOverlay_3.34.15002.0_x64__8wekyb3d8bbwe
PS C:\Users\josh> Remove-AppxPackage Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

You may notice one or more attempts to remove a package failed. We can clean that up using PowerShell as an administrator.

If your administrator account is a different account, you may need to use the -AllUsers parameter with certain commands.

Step 3. Check AppxPackage list again

PS C:\Users\josh> Get-AppxPackage | select-string xbox

Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy

Step 4. Launch PowerShell as an administrator

Now that we have an elevated command prompt. Let's look at the AppxPackage list again. We may see a few more:

PS C:\WINDOWS\system32> Get-AppxPackage | Select-String xbox

Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy
Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

Note: if you want to remove for multiple users, you need to run with the -AllUsers parameter: Get-AppxPackage -AllUsers.

Let's remove them:

Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy
Remove-AppxPackage Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
Remove-AppxPackage Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

Results:

PS C:\WINDOWS\system32> Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy
Remove-AppxPackage : Deployment failed with HRESULT: 0x80073D19, An error occurred because a user was logged off.
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy from:
C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_cw5n1h2txyewy failed. This app is part of Windows and cannot be
uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows
Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 1e9e759c-9d2e-0001-5455-a21e2e9dd501 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 1e9e759c-9d2e-0001-5455-a21e2e9dd501
At line:1 char:1
+ Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.15063.0.0_neutra ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.XboxG...l_cw5n1h2txyewy:String) [Remove-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

PS C:\WINDOWS\system32> Remove-AppxPackage Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
PS C:\WINDOWS\system32> Remove-AppxPackage Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
PS C:\WINDOWS\system32> Remove-AppxPackage Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe

We see one failed. Let's try to use DISM to remove them.

Step 5: Get a list of DISM packages that match on xbox

Search provisioned packages, you might see more packages than what you found via the Remove-AppxPackage cmdlet.

PS C:\WINDOWS\system32> dism /online /get-provisionedappxpackages | select-string packagename | select-string xbox | ForEach-Object {$_.Line.Split(':')[1]}
 Microsoft.XboxGameOverlay_1.47.14001.0_neutral_~_8wekyb3d8bbwe
 Microsoft.XboxGamingOverlay_3.34.15002.0_neutral_~_8wekyb3d8bbwe
 Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe
 Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe

Step 6: Remove the DISM packages that match on xbox

Build your script based on output found in step 5.

dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxGameOverlay_1.47.14001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxGamingOverlay_3.34.15002.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe

Example Result:

PS C:\WINDOWS\system32> dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxGameOverlay_1.47.14001.0_neutral_~_8wekyb3d8bbwe

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.476

The operation completed successfully.
PS C:\WINDOWS\system32> dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxGamingOverlay_3.34.15002.0_neutral_~_8wekyb3d8bbwe

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.476

The operation completed successfully.
PS C:\WINDOWS\system32> dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.476

The operation completed successfully.
PS C:\WINDOWS\system32> dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18362.476

The operation completed successfully.

Step 7. Verify

Run DISM as an administrator:

PS C:\WINDOWS\system32>  dism /online /get-provisionedappxpackages | select-string packagename | select-string xbox
PS C:\WINDOWS\system32>

Run AppXPackage as a normal user:

PS C:\Users\josh> Get-AppxPackage | select-string xbox

Microsoft.XboxGameCallableUI_1000.18362.449.0_neutral_neutral_cw5n1h2txyewy

Run AppXPackage as an elevated user:

PS C:\WINDOWS\system32> Get-AppxPackage | Select-String xbox

Microsoft.XboxGameCallableUI_1000.15063.0.0_neutral_neutral_cw5n1h2txyewy

In this example, I had difficulty removing the XboxGameCallableUI package.

Notes

Did something different to remove the Game bar? Please comment and let us know (except via apps like CCleaner).

I'll try to keep this gist updated to help other folks landing here.

Cheers!

@scerazy

This comment has been minimized.

Copy link

scerazy commented May 8, 2019

Well, does not remove it on 1901 any more

@theophanemayaud

This comment has been minimized.

Copy link

theophanemayaud commented May 12, 2019

Doesn't either for me on 1809...

@Noswal33

This comment has been minimized.

Copy link

Noswal33 commented Jun 25, 2019

Ive used Get-AppxPackage xbox | Remove-AppxPackage successfully , as xboxapp limits what can be removed

@bas-r

This comment has been minimized.

Copy link

bas-r commented Jul 16, 2019

I used Get-AppxPackage *xbox* | Remove-AppxPackage which at least removed the xbox game bar package, though throwing a lot of errors..

@TuftedTail

This comment has been minimized.

Copy link

TuftedTail commented Jul 27, 2019

I will confirm that Get-AppxPackage *xbox* | Remove-AppxPackage through PowerShell as an administrator removed the Xbox Game Bar package on Windows 10 Home 1903 (OS build 18362.267), albeit with a number of errors.

@colbyalbo

This comment has been minimized.

Copy link

colbyalbo commented Jul 31, 2019

Confirmed Works with Win10 Pro, Ver 10.0.18362.145 , removed xbox game bar , errors thrown though.

@Unknow0059

This comment has been minimized.

Copy link

Unknow0059 commented Aug 7, 2019

Cannot remove Xbox Gamebar http://prntscr.com/opb9im

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Aug 12, 2019

@Unknow0059 were you able to figure out how to remove it? i tried removing using the DISM tool. i added some updates in the gist for it.

@Unknow0059

This comment has been minimized.

Copy link

Unknow0059 commented Aug 13, 2019

@joshschmelzle Yes. I tried using the same command the next day, and the GameBar was removed as it should've been. It's strange that it errored the first time.

@MYGguy

This comment has been minimized.

Copy link

MYGguy commented Sep 9, 2019

I will confirm, just like TuftedTail, that Get-AppxPackage *xbox* | Remove-AppxPackage through PowerShell as an administrator removed the Xbox Game Bar package on Windows 10(where's the model?), albeit with a number of errors.
image

@dancing-jules

This comment has been minimized.

Copy link

dancing-jules commented Oct 10, 2019

The last method worked (DISM). Thank you very much!

@Zigohr

This comment has been minimized.

Copy link

Zigohr commented Nov 5, 2019

It worked for me, but now I need it back and I cannot restore it >.<'
Any advice?

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Nov 5, 2019

@Zigohr I'd try to install it from the Microsoft Store.

@Zigohr

This comment has been minimized.

Copy link

Zigohr commented Nov 5, 2019

@MajorGeek

This comment has been minimized.

Copy link

MajorGeek commented Nov 13, 2019

O&O App Buster FTW.

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Nov 13, 2019

@MajorGeek thanks for the discovery! Added to the gist.

@guillaumeportails

This comment has been minimized.

Copy link

guillaumeportails commented Nov 17, 2019

Works via dism on 10.0.18362. Thanks !

@tgraupmann

This comment has been minimized.

Copy link

tgraupmann commented Nov 19, 2019

After the most recent update, these are the commands that I used to uninstall Game Bar running PowerShell as administrator.

REM Show Game Bar Packages
dism /online /get-provisionedappxpackages | select-string packagename | select-string XBOX

REM Remove Packages
dism /online /remove-provisionedappxpackage /packagename:Microsoft.Xbox.TCUI_1.24.10001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxApp_48.58.11001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxGameOverlay_1.47.14001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe
dism /online /remove-provisionedappxpackage /packagename:Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe

REM List Packages
Get-AppxPackage | select-string XBOX

REM Remove Packages
Remove-AppPackage -Package Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Remove-AppPackage -Package Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe
Remove-AppPackage -Package Microsoft.XboxApp_48.58.11001.0_x64__8wekyb3d8bbwe
Remove-AppPackage -Package Microsoft.XboxIdentityProvider_12.58.1001.0_x64__8wekyb3d8bbwe
Remove-AppPackage -Package Microsoft.XboxGamingOverlay_3.34.15002.0_x64__8wekyb3d8bbwe
Remove-AppPackage -Package Microsoft.XboxGameOverlay_1.47.14001.0_x64__8wekyb3d8bbwe
@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Nov 19, 2019

@tgraupmann did this actually remove the game bar for you? I updated the gist accordingly, but on my current machine (10.0.18362) I still had problems removing one of the associated xbox appxpackages.

@bashenk

This comment has been minimized.

Copy link

bashenk commented Nov 19, 2019

By the way, the dism commands can be shortened into a single command.

dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | % {$_.Line.Split(':')[1].Trim()} | % { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}

or if you want to go the pure PowerShell cmdlets route:

Get-ProvisionedAppxPackage -Online | ? { $_.PackageName -match "xbox" } | % { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }

@tgraupmann

This comment has been minimized.

Copy link

tgraupmann commented Nov 20, 2019

@joshschmelzle Yes these steps worked for me. Get-AppxPackage | select-string XBOX returns one package that I couldn't uninstall because it was part of the OS, but it didn't matter. I was able to reinstall Game Bar afterward. I'm also on the Windows Insider Preview (19013).

@Zigohr

This comment has been minimized.

Copy link

Zigohr commented Nov 20, 2019

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Nov 20, 2019

@bashenk thanks! great use of stringing the commands together. updated the gist. 🚀

@tgraupmann @Zigohr thank you for the feedback! 👌

@Darr247

This comment has been minimized.

Copy link

Darr247 commented Jan 3, 2020

Short version worked for me with Win10 Pro version 1903.

@Darr247

This comment has been minimized.

Copy link

Darr247 commented Jan 3, 2020

The 'short version' worked on a desktop running Win 10 Pro version 1909, too....

Windows` PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox

PackageName : Microsoft.Xbox.TCUI_1.24.10001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxApp_48.59.13001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxGameOverlay_1.48.12001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxGamingOverlay_3.36.6003.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe


PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | ForEach-Object {$_.Line.Split(':')[1].Trim()} | ForEach-Object { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.
PS C:\WINDOWS\system32> Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }
PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox
PS C:\WINDOWS\system32>
@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Jan 3, 2020

@Darr247 right on! thanks

@Zabeus

This comment has been minimized.

Copy link

Zabeus commented Jan 13, 2020

Using only the method by @Darr247 didn't work for me in Windows 10.0.18362. I also had to run the commands from @tgraupmann to get it completely removed.

@Svenster64

This comment has been minimized.

Copy link

Svenster64 commented Jan 15, 2020

The thing that would not leave - tried various options from the original post, powershell comes back clean and nice with no results on the search for xbox, alas . .
The thing still sits in the start menu and even launches on my 1909 build

Decided to do a quick & dirty via Admin-Powershell and sent the package packing with this here :

Get-appxpackage -allusers Microsoft.XboxGamingOverlay | Remove-AppxPackage

@Darr247

This comment has been minimized.

Copy link

Darr247 commented Jan 23, 2020

The O&O App Buster's download page states it only works up to version 1809, by the way.

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Jan 24, 2020

@Darr247 thanks for the note. i removed App Buster from the list.

@doug-scott

This comment has been minimized.

Copy link

doug-scott commented Jan 26, 2020

This powershell command worked on my Win10 notebook.. Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage when I ran as admin. Why does Microsoft insist on installing apps that do not even follow the uninstall rules? I was paying that Xbox Gold subscription in order to be allowed to use the Netflix app on the Xbox. This year my new TV has the Netflix app, so no need for Xbox Gold. I get an email just about daily saying they can't charge the subscription to my credit card because the expiry date changed. The only way I can cancel is to update the payment info, then after they renew it, I can cancel. We all know that if i do that Microsoft will claim that did not cancel in time and no refund. BTW, there is no way to cancel this online at all. I suppose I could call them, but playing dead is more fun.

@pokulo

This comment has been minimized.

Copy link

pokulo commented Feb 10, 2020

Thank you so much for this gist!!

@OftKilted

This comment has been minimized.

Copy link

OftKilted commented Feb 12, 2020

This command seems to work for pulling the XboxGamingOverlay (i.e. the Xbox Gaming Bar) from both NEW and Existing user profiles (and the command is functioning in 1909 when working with the Enterprise edition): (Side note: I already have all the Xbox Services set to a disabled start)

remove-appxprovisionedpackage -online -allusers -packagename Microsoft.XboxGamingOverlay_2.26.14003.0_neutral_~_8wekyb3d8bbwe

@OftKilted

This comment has been minimized.

Copy link

OftKilted commented Feb 13, 2020

@Darr247

The 'short version' worked on a desktop running Win 10 Pro version 1909, too....
[clipped for brevity]
The operation completed successfully.
PS C:\WINDOWS\system32> Get-ProvisionedAppxPackage -Online | Where-Object { $.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $.PackageName }
PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox
PS C:\WINDOWS\system32>

You might want to add '-allusers' into your script:
Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -allusers -PackageName $_.PackageName }

If you're doing an 'upgrade in place' scenario it will also catch it for pre-existing profiles. (Or any scenario that might have a pre-existing profile.)

@MCKitch

This comment has been minimized.

Copy link

MCKitch commented Apr 17, 2020

@OftKilted

You might want to add '-allusers' into your script:
Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -allusers -PackageName $_.PackageName }

Confirming the above worked for me. :-)

WindowsSpecification

PowerShellXBoxRemoval

@Darude-FOTR

This comment has been minimized.

Copy link

Darude-FOTR commented Apr 23, 2020

So if you download ccleaner protable " https://www.ccleaner.com/ccleaner/download/portable " here (this is a download link, will download if you click) you can go to tools and uninstall all the built in microsoft apps

@joshschmelzle

This comment has been minimized.

Copy link
Owner Author

joshschmelzle commented Apr 23, 2020

@Darude-FOTR did you try using ccleaner to remove the xbox app and were you successful? ccleaner can go amok and have side effects, so i am cautious and don't generally recommend it.

@OftKilted

This comment has been minimized.

Copy link

OftKilted commented Apr 24, 2020

@Darude-FOTR @joshschmelzle And then you’re stuck dealing with whatever else CCleaner leaves behind. And it’s a typical target (apparently at least twice) for being hacked.

https://betanews.com/2019/10/21/avast-abiss-hack-abiss/

Removing via powershell works like a champ up through at least 1909.

@MAP316

This comment has been minimized.

Copy link

MAP316 commented Jun 9, 2020

what works for me Windows Registry Editor Version 5.00
; Settings - Gaming entry - Turn OFF

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"SettingsPageVisibility"="hide:gaming-gamebar;gaming-gamedvr;gaming-broadcasting;gaming-gamemode;gaming-trueplay;gaming-xboxnetworking"

@OftKilted

This comment has been minimized.

Copy link

OftKilted commented Jun 11, 2020

@MAP316 That doesn’t actually remove the component, it just hides the gaming settings entry access.

@Mats391

This comment has been minimized.

Copy link

Mats391 commented Jun 13, 2020

I removed it, but it still steals the Win+G keyboard input. Even assigning a new shortcut does not help, then it simply steals both. Anyone experienced that? I am using 1909 Enterprise

@androidSwDev099

This comment has been minimized.

Copy link

androidSwDev099 commented Jun 20, 2020

Worked for me on Windows 10 2004. Thank you!

@haikalshiddiq

This comment has been minimized.

Copy link

haikalshiddiq commented Jul 1, 2020

The 'short version' worked on a desktop running Win 10 Pro version 1909, too....

Windows` PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox

PackageName : Microsoft.Xbox.TCUI_1.24.10001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxApp_48.59.13001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxGameOverlay_1.48.12001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxGamingOverlay_3.36.6003.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxIdentityProvider_12.58.1001.0_neutral_~_8wekyb3d8bbwe
PackageName : Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_neutral_~_8wekyb3d8bbwe


PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | ForEach-Object {$_.Line.Split(':')[1].Trim()} | ForEach-Object { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.

Deployment Image Servicing and Management tool
Version: 10.0.18362.1

Image Version: 10.0.18363.535

The operation completed successfully.
PS C:\WINDOWS\system32> Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match "xbox" } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -PackageName $_.PackageName }
PS C:\WINDOWS\system32> dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox
PS C:\WINDOWS\system32>

well this is actually work for latest june update windows 10. thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.