How to uninstall and reinstall the Xbox App in Windows 11

Open Powershell as Administrator.

Type: get-appxpackage Microsoft.GamingServices | remove-AppxPackage -allusers

Type: start ms-windows-store://pdp/?productid=9MWPM2CQNLHN

Now it should work.

User Input