Win11Debloat icon indicating copy to clipboard operation
Win11Debloat copied to clipboard

Remove the prompt to install `ms-gamingoverlay` when launching a game.

Open ejenk0 opened this issue 4 weeks ago • 3 comments

Checklist

  • [x] I have searched for existing issues/discussions and didn't find any similar ones.

Describe the feature or improvement

I chose to remove the Xbox Game Bar / Gaming Overlay using Win11Debloat, however when launching certain games, I am prompted to install it again:

Image

Ideally this behavior should be disabled when the user opts to remove the Game Bar.

Examples

It seems like this can be solved by a registry edit, but I am not willing to try it myself without the scrutiny of someone who knows this OS better than me:

https://learn.microsoft.com/en-us/answers/questions/3739326/how-to-stop-the-ms-gamingoverlay-popup

If this is safe, I will try it and report back, and I believe this would be worth implementing into the Win11Debloat script.

Additional context

I am currently experiencing this issue when launching Minecraft, but I have noticed it several other times. As I find more examples I will try to update this issue.

ejenk0 avatar Dec 05 '25 00:12 ejenk0

related (closed) issue: #367

@Raphire there is a copy/paste error in Disable_Game_Bar_Integration.reg

[HKEY_CLASSES_ROOT\ms-gamebarservices]
@="URL:ms-gamebar"

should be

@="URL:ms-gamebarservices"

@ejenk0 If you can't wait the fix (should be pretty fast I guess), you can edit the reg file and run it.

agadiffe avatar Dec 05 '25 17:12 agadiffe

Heya,

As mentioned by agadiffe this was added based on the issue they linked. I do see however that this option is not given when using the default mode, which may explain why you missed it. As of commit 990957e there's now an option to disable these popups (Game Bar Integration). I also seem to have made a slight mistake in the registry file, which I have also fixed. Thanks @agadiffe 😄

These changes are not yet available if you use the quick method, but you can manually downloaded the latest version by going to the main page and downloading the script as a ZIP Archive. See:

Image

Raphire avatar Dec 07 '25 16:12 Raphire

Thank you @agadiffe and @Raphire ! Really appreciate your help :)

ejenk0 avatar Dec 07 '25 21:12 ejenk0

For anyone else in my situation (ran this script before the fix and is having the ms-gamingoverlay popup), you MUST select Microsoft.XboxGameOverlay OR Microsoft.XboxGamingOverlay to be uninstalled in order to see the Disable Game Bar integration and game/screen recording? This also stops ms-gamingoverlay and ms-gamebar popups (y/n) prompt.

Even if you have already uninstalled this, just run the script again, select only one of those apps and it will prompt you to remove the popup.

ejenk0 avatar Dec 17 '25 04:12 ejenk0