There has to be a way to disable this extremely annoying and unnecessary pop-up from a OS that no longer has all of that Xbox and MS Windows bloat. It is stupid that this thing pops up every single time I connect a controller, it is annoying. I tried some powershell commands I found from google, they do not work. "reinstall the xbox app" is not a fix. I do not want the Xbox bloat, I want the notification gone, that is it. Things like this is why more and more people are going to Linux nowadays
Since I've spent countless hours myself battling this problem, I thought I'd share what solved it for me. Credits to aveyo who wrote this script:
https://www.reddit.com/r/Windows11/comments/vm046d/is_there_any_way_to_remove_the_xbox_game_bar/
If I understand correctly, the script redirects the three gaming-related protocol handlers:
powershell"ms-gamebar","ms-gamebarservices","ms-gamingoverlay"
It's not affecting any other file associations or protocols. For each of these three specific protocols, it:
- Creates/modifies their registry entries under HKEY_CLASSES_ROOT
- Adds a "NoOpenWith" flag
- Points their "shell\open\command" to systray.exe