Как удалить xbox game bar в windows 11 полностью через powershell

Некоторые предустановленные приложения Windows 11 и 10 нельзя удалить в параметрах приложений и другими очевидными способами. Одно из таких приложений — Xbox Game Bar. Оно может быть полезным, например, для записи видео с экрана, но далеко не всем пользователям оно нужно.

В этой инструкции подробно о способах удалить Xbox Game Bar как встроенными средствами системы — с помощью PowerShell, так и с помощью сторонних программ-деинсталляторов.

Удаление Xbox Game Bar в PowerShell

Стандартный способ удаления приложения Xbox Game Bar — использование команды Windows PowerShell. Шаги для этого будут следующими:

  1. Запустите Терминал Windows или Windows PowerShell от имени Администратора. В Windows 11 и 10 сделать это можно в контекстном меню кнопки «Пуск».
  2. Введите команду
    Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage

    и нажмите Enter.

    Удалить Xbox Game Bar в PowerShell

  3. В результате приложение Xbox Game Bar будет удалено для текущего пользователя, но сам пакет приложения останется на компьютере.
  4. Ещё три варианта команд, которые удаляет все приложения Xbox (не только Game Bar), также запускаем в PowerShell (первая команда оставляет хранящиеся на компьютере пакеты приложений, вторая и третья — удаляет их):
Get-AppxPackage | select-string xbox | Remove-AppxPackage
dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | ForEach-Object {$_.Line.Split(':')[1].Trim()} | ForEach-Object { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}
Удаление Xbox Game Bar командой Dism

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

Ещё один способ удалить Xbox Game Bar и другие, имеющие отношение к Xbox в PowerShell, указав конкретные пакеты приложений вручную (ключевое в контексте рассматриваемой темы — XboxGamingOverlay):

  1. Используем команду
    Get-AppxPackage | Select-String xbox

    чтобы получить имена пакетов.

  2. Используем по порядку команды
    Remove-AppxPackage имя_пакета

    для удаления каждого из них, имя пакета можно скопировать в буфер обмена прямо в PowerShell.

  3. Чтобы удалить их для всех пользователей, используем параметр -allusers
    Remove-AppxPackage -allusers имя_пакета
  4. Для удаления не только установленного приложения, но и соответствующего пакета для всех пользователей:
    Remove-ProvisionedAppxPackage -Online -allusers -PackageName имя_пакета

Обратите внимание, что после удаления Xbox Game Bar, вы можете начать получать сообщения об ошибках вида «Вам понадобится новое приложение, чтобы открыть эту ссылку ms-gamingoverlay» или «Получите приложение, чтобы открыть эту ссылку ms-gamingoverlay». Подробно про ошибки ms-gamingoverlay.

Сторонние деинсталляторы

Удалить Xbox Game Bar в BC Uninstaller

Многие сторонние программы для удаления программ и встроенных приложений Windows позволяют, в том числе, легко удалить Xbox Game Bar. Среди рекомендуемых решений для этих целей:

  • BC Uninstaller
  • HiBit Uninstaller

Обе программы отлично справятся с задачей удаления Xbox Game Bar с компьютера, а делается это в простом графическом интерфейсе. Но при необходимости вы можете использовать и другие функциональные бесплатные деинсталляторы с функцией удаления встроенных приложений Windows 11 и других версий.

Xbox Game Bar — приложение-оверлей от Майкрософт с кучей полезных «фич», которые несомненно пригодятся геймерам и не только. Хотите не выходя из игры записать какое-то видео или сделать скриншот? Или прямо во время игрового процесса промониторить показатели своего ПК? Xbox Game Bar вам в этом поможет! Однако далеко не каждому пользователю нужно это приложение. В конце концов, существует масса куда более удобных аналогов с расширенным функционалом.

В связи с этим большое количество пользователей задается вполне логичным вопросом: как удалить Xbox Game Bar на Windows 10/11? Сегодняшняя статья как раз посвящена этому вопросу.

Как удалить Xbox Game Bar в несколько шагов

Нет ничего проще, чем удалить ненужный Xbox Game Bar с помощью PowerShell.

  • Нажмите WIN+R для вызова диалогового окошка «Выполнить»;
  • пропишите в пустой строке PowerShell и нажмите CTRL+SHIFT+ENTER;
  • вставьте в терминал команду Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage и нажмите ENTER.

Готово, больше Xbox Game Bar не будет вас донимать — на вашей текущей учетной записи, по крайней мере. Технически, пакет приложения XGB все еще находится в системе, но он не активен. Не переживайте о занимаемом месте на SSD/HDD: размер пакета незначителен.

Можно ли удалить все приложения Xbox?

Если вы не пользуйтесь программным обеспечением Xbox в принципе (распространенная ситуация, особенно в РФ), рекомендуем избавиться от него следующим рядом команд для того же PowerShell:

  • Get-AppxPackage | select-string xbox | Remove-AppxPackage
  • dism /Online /Get-ProvisionedAppxPackages | Select-String PackageName | Select-String xbox | ForEach-Object {$_.Line.Split(‘:’)[1].Trim()} | ForEach-Object { dism /Online /Remove-ProvisionedAppxPackage /PackageName:$_}
  • Get-ProvisionedAppxPackage -Online | Where-Object { $_.PackageName -match «xbox» } | ForEach-Object { Remove-ProvisionedAppxPackage -Online -allusers -PackageName $_.PackageName }

После выполнения команд ПО Xbox на вашем ПК больше не будет, причем не только для основного аккаунта, а для всех в принципе (обратите внимание на «-allusers»).

Деинсталляция приложений Xbox по отдельности

Хорошо, но что делать, если вы хотите избавиться только от каких-то определенных приложений Xbox? То есть, какие-то приложения хочется оставить, а другие — удалить с концами? Решение — удаление вручную через, опять-таки, PowerShell.

  • Get-AppxPackage | Select-String xbox
  • Remove-AppxPackage [НАЗВАНИЕ ПАКЕТА ПРИЛОЖЕНИЯ]
  • Remove-AppxPackage -allusers [НАЗВАНИЕ ПАКЕТА ПРИЛОЖЕНИЯ]
  • Remove-ProvisionedAppxPackage -Online -allusers -PackageName [НАЗВАНИЕ ПАКЕТА ПРИЛОЖЕНИЯ]

Последняя команда так и вовсе удаляет и приложение, и его пакет. Хочется обратить внимание, что некоторые удаленные компоненты можно повторно установить через Microsoft Store либо PowerShell. Плюс мы должны вас предупредить, что после выполнения вышеуказанных команд вы с большой долей вероятности столкнетесь с теми или иными ошибками.

Например, при вызове Xbox Game Bar с клавиатуры (WIN+G) либо подключении контроллера Xbox может появляться ошибка ms-gamingoverlay. По сути, ничего критичного в этом нет, но имейте в виду, что периодически такое будет происходить. Просто закройте появившееся окошко и продолжайте пользоваться ПК в привычном режиме.

В этой публикации, друзья, рассмотрим, как удалить Xbox Game Bar в Windows 11. Xbox Game Bar – это встроенная в Windows 10 и 11 игровая панель инструментов. Запускается клавишами Win+G. Позволяет записывать экранное видео игровых процессов, делать скриншоты, транслировать игры, общаться с пользователями сообщества Xbox. Предоставляет доступ к настройкам звука. Отображает данные мониторинга системных ресурсов и FPS в играх. Если по какой-то причине нужно удалить эту игровую панель, это можно сделать.

Игровая панель Xbox Game Bar интегрирована в Windows 11. Её невозможно удалить средствами самой операционной системы. В разделе установленных программ и приложений системных параметров приложение Xbox Game Bar даже не отображается. Из всех компонентов Xbox сможем удалить только приложения Xbox и Xbox Live для взаимодействия с экосистемой Xbox.

Удалять Xbox Game Bar необходимо специальным образом.

Удаление этой игровой панели сделает невозможным использование её функций. Если вы не используете эти функции, конечно, вы можете удалить панель. А если она когда-нибудь вам понадобится, Xbox Game Bar можно восстановить, и как это сделать, рассмотрим в конце публикации.

Простой и юзабильный способ удаления Xbox Game Bar – с помощью сторонних программ-деинсталляторов. Однако не все таковые предусматривают функционал удаления современных приложений из Microsoft Store, и уж тем более интегрированных в Windows. Какие же деинсталляторы годятся для решения поставленной задачи?

Из бесплатных деинсталляторов удалить Xbox Game Bar может, например, программа Wise Program Uninstaller. С её помощью можно удалить не только приложение панели Game Bar, но все компоненты Xbox, если игровая консоль от Microsoft не используется. В случае критической нехватки места на диске С даже 350 Мб высвобождаемого дискового пространства при удалении всех компонентов Xbox могут иметь значение.

Удалить Xbox Game Bar может платная программа-деинсталлятор Uninstall Tool. Но смысл её использовать есть при постановке задачи по полному удалению ПО Xbox с компьютера, т.е. удалению всех компонентов, связанных с игровой консолью. Их Uninstall Tool обнаруживает лучше, чем другие деинсталляторы. Тогда как Wise Program Uninstaller обнаружила 6 компонентов Xbox, программа Uninstall Tool нашла 7.

Чтобы и бесплатно, и эффективно зачистить Xbox, удалить все компоненты игровой консоли, можно прибегнуть к программе WingetUI, это графический интерфейс штатного менеджера пакетов Windows 11 Winget. WingetUI, как и платная программа-деинсталлятор Uninstall Tool, обнаруживает 7 компонентов Xbox, в числе которых – панель Xbox Game Bar, которую можем удалить и отдельно.

Друзья, если вы ещё не знакомы с программой WingetUI, выбирайте её и знакомьтесь с её функционалом. Она предоставит вам возможности как то: установка программ из надёжных источников, пакетная установка и обновление программ, пакетное удаление программ. С её помощью трудозатраты на установку софта при новой установке Windows сократятся в разы. В окне WingetUI заходим в раздел «Установленные пакеты». Отмечаем только Xbox Game Bar, либо ставим галочки для всех компонентов Xbox. Жмём «Удалить выбранные пакеты».

Подтверждаем удаление.

И ожидаем завершения операций по удалению.

Друзья, возможно, кому-то из вас, чем разбираться с программами-деинсталляторами, проще удалить Xbox Game Bar с помощью штатного консольного средства Windows PowerShell. Запускаем непосредственно PowerShell или терминал Windows 11 от имени администратора (можно в меню по клавишам Win+X).

Чтобы удалить Xbox Game Bar для используемой учётной записи, вводим команду:

Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage

С помощью PowerShell также можем удалить все компоненты Xbox. И удалить можем по-разному. Можем удалить с оставлением на компьютере пакетов Xbox, что в будущем позволит быстро восстановить приложения Xbox, если они нам понадобятся. Т.е. это будет, по сути, решением, как отключить Xbox Game Bar. Для этого вводим команду:

Get-AppxPackage | select-string xbox | Remove-AppxPackage

А можем удалить все компоненты Xbox без оставления на компьютере пакетов Xbox. Так пакеты не будут занимать место на диске С, это вариант, если мы в обозримом будущем с высокой вероятностью не будем использовать приложения Xbox. Для этого вводим команду:

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

Или:

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

Чтобы восстановить игровую панель Xbox Game Bar, проходим по ссылке её приложения на сайте Microsoft Store. Жмём «Скачать».

Откроется приложение магазина, жмём «Получить».

И дожидаемся установки приложения.

How to Remove the Xbox Game Bar with Powershell on Windows 10. Scroll to the end of the gist for Windows 11.

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 first options are probably not be available unless you are running an older version of Windows 10.

EDIT: make sure to check out the comment below from @nmhung1985 which seems to be working for most folks.

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 or DISM (short version first, longer version below this section)

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

DISM is a Deployment Image Servicing and Management CLI tool from Microsoft built into Windows. You will need to interact with DISM from an elevated (admin) terminal.

1. Open your terminal as an administrator (Windows Key > Start typing «PowerShell» > CTRL + SHIFT + ENTER)

If you’re using DISM, this could be cmd.exe. If you’re using PowerShell, this needs to be Windows PowerShell. You can interact with either if you launch Windows Terminal as admin.

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

You you should be able to accomplish this with DISM or PowerShell. I’ll show both approaches, but pick one or the other.

2a. DISM version:

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

2b. PowerShell version:

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

3.

The following commands will retrieve the AppXPackages matching on xbox and attempt to remove them. There are several commands stringed together (thanks @bashenk for your help on this). Copy and paste the entire block.

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. Run the commands from step 2 again.

You may need to reboot after.

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.

Want to just remove all the packages matching on xbox?

Launch PowerShell as an adminstrator.

Step 1. Verify what they are.

Get-AppxPackage | select-string xbox

Step 2. Remove any packages matching on xbox.

Get-AppxPackage | select-string xbox | Remove-AppxPackage

Struggling removing certain packages like the Microsoft.XboxGamingOverlay?

@Svenster64 commented that they had issues on build 1909 removing the XboxGamingOverlay.

Verify it is installed:

Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay

Remove it:

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

This works on Windows 11 to get rid of the Game Bar. Verified on Windows 11 version 23H2 (22631.3880).

If you start seeing a popup around ms-gamingoverlay, try the following commands in an elevated terminal:

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0

Appendix

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 stumbling onto this gist.

Cheers!

Download Article

Get rid of the Xbox Game Bar overlay, temporarily or for good

Download Article

  • Disabling Game Bar in Windows 11
  • |

  • Disabling Game Bar in Windows 10
  • |

  • Deleting Xbox Game Bar Permanently
  • |

  • Should I turn off Game Bar?
  • |

  • Game Mode Won’t Turn Off (Quick Fix)
  • |

  • Video

Is Game Bar popping up when you plug your controller into your PC or play certain games? If you don’t want to use the Xbox Game Bar to screen record or access Xbox social gaming features, it may be more of a nuisance than an asset. Fortunately, you can disable the Game Bar and even completely uninstall it. Read on for simple step-by-step instructions on disabling Xbox Game Bar and turning off Game Mode on Windows 10 & 11, plus troubleshooting tips.

Disabling Game Bar: Quick Steps

In Windows 10, open Settings, select Gaming, and toggle off the «Game Bar» switch. In Windows 11, go to Settings > System Components, open Game Bar’s Advanced options, and select Never from the «Background component permissions» menu.

  1. Step 1 Open your Windows Settings.

    You can get there quickly by pressing Windows key + i, or by clicking Settings in the Windows menu.

  2. Step 2 Click System.

    It’s at the top-left corner.

    Advertisement

  3. Step 3 Click System Components.

    You’ll need to scroll down a little bit on the right panel to find it.

  4. Step 4 Click the three dots next to Game Bar and select Advanced options.

  5. Step 5 Click the "Background component permissions" menu.

    You’ll see this below the «Component permissions» section. «Power optimized (recommend)» is usually selected by default.

  6. Step 6 Select Never.

    This prevents Game Bar from running in the background and responding to the Windows key + G keyboard shortcut.

  7. Step 7 Disable "Allow your controller to open Game Bar."

    If Game Bar still pops up when you plug in a controller, you can disable that, too. Here’s how:

    • Click Gaming in the left panel of the Settings window.
    • Click Game Bar.
    • Toggle off the switch next to «Allow your controller to open Game Bar.»
    • At this point, Game Bar features that could get in the way should now stay out of your sight. However, you may still see some annoying pop-ups when you play certain games or plug in a controller. The only fix is to delete Game Bar permanently—jump down to Deleting Xbox Game Bar Permanently to learn how.
  8. Step 8 Turn off Game Mode (optional).

    If you don’t want Windows to disable background apps when you’re gaming, you can turn this feature off:

    • Click the back button to return to the Gaming menu, or click the Gaming tab in the left panel.
    • Click Game Mode
    • Click the «Game Mode» switch to turn the feature off.
    • If Game Mode won’t turn off, jump down to our quick fix.
  9. Advertisement

  1. Step 1 Open your Windows Settings.

    You can get there quickly by pressing Windows key + i, or by clicking Settings in the Windows menu.

    • This method will disable Game Bar and prevent it from opening when you use keyboard shortcuts or a gaming controller.
  2. Step 2 Click Gaming.

    This option has an Xbox logo.

  3. Step 3 Click the switch to toggle off Xbox Game Bar.

    The switch is at the top of the right panel.

    • Game Bar is now disabled. If you want to go a step further and permanently uninstall it, jump down to Deleting Xbox Game Bar Permanently.
    • If you want Game Bar back, you can return to this screen and select Power optimized (recommended) from the menu.
  4. Step 4 Turn off Game Mode (optional).

    If you don’t want Windows to disable background apps when you’re gaming, you can click the «Game Mode» switch to turn the feature off.[1]

    • If Game Mode won’t turn off, jump down to our quick fix.
  5. Advertisement

  1. Step 1 Open PowerShell as an administrator.

    If you want to remove Game Bar permanently on Windows 10 or 11, you’ll first need to remove the preinstalled package in PowerShell, and then add a few registry keys if Game Bar errors still pop up. To open PowerShell as an administrator:

    • Type powershell into the Windows search bar.
    • Right-click Windows PowerShell.
    • Select Run as administrator…
    • Click Yes.
  2. Step 2 Run the PowerShell command to remove the package.

    Paste this line into PowerShell and press Enter:[2]

    • Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
  3. Step 3 Remove Xbox Game Bar from the registry.

    If you still see notifications that say «You’ll need a new app to open this ms-gamingoverlay» when you try to play certain games, you’ll also need to add some registry keys to remove Game Bar permanently. You can do this from PowerShell by pasting these two lines, pressing Enter after each.

    • reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0
    • reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0
    • The Game Bar should now be removed. If you want it back, you can reinstall it from the Microsoft Store.
  4. Advertisement

  1. Step 1 Game Bar is great for playing Xbox games on your PC.

    Most people don’t need to turn off Game Bar, and can even benefit from features like accessing audio settings and performance stats without Alt-Tabbing out of your game.[3]
    There are also plenty of Xbox social features, and the ability to screen-record gameplay with a quick keyboard shortcut.[4]

  2. Step 2 You might want to turn off Game Bar if you have performance issues.

    If your PC feels slow, disabling background apps like Game Bar can help speed things up. Also, if you have a high-end graphics card with similar software and overlays (such as NVIDIA Shadowplay or GeForce Experience), having both Game Bar and that software running could be rough on your CPU.

  3. Advertisement

  1. Still seeing a "Game Mode" notification on the screen after turning off Game Mode?

    This notification usually pops up when you’re using a TV as a monitor. In this case, try switching to a different HDMI port on the TV. If that doesn’t work, go into your TV’s HDMI settings, look in the menus for «Game Mode,» and turn it off.

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Video

Thanks for submitting a tip for review!

About This Article

Thanks to all authors for creating a page that has been read 38,466 times.

Did this article help you?

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Python system windows forms
  • Ext4 чем открыть в windows
  • Windows nintendo switch emulator
  • Please wait while windows configures mysql installer
  • Gaming overlay windows 10 как отключить