Removing Microsoft.Xbox* App

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:$_}

Leave a Reply

Your email address will not be published. Required fields are marked *