Hello,
You might need to use Remove-AppxProvisionedPackage (DISM) | Microsoft Learn
XBOX are pre-installed UWP app treated differently by the operating system.
- Run the following command to list all provisioned packages:
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -like "Xbox"}
- Remove Each Package Using the
PackageName
:
Remove-AppxProvisionedPackage -Online -PackageName "PackageName" -AllUsers
Note to create a system restore point so you can revert the changes if something goes wrong.
Reference: How to Uninstall Built-in UWP (APPX) Apps on Windows 10 or 11 | Windows OS Hub
If the Answer is helpful, please click Accept Answer and upvote it.