Win11Debloat icon indicating copy to clipboard operation
Win11Debloat copied to clipboard

ms-gamingoverlay popup appears when a controller is connected

Open benjweaver opened this issue 2 months ago • 3 comments

Checklist

  • [x] I have searched for existing issues/discussions and didn't find any similar ones.
  • [x] I haven't used any other scripts, tools or programs that might have caused this issue.

Windows version

Windows 11 Pro 25H2 26200.6899 Windows Feature Experience Pack 1000.26100.253.0

Script mode/options

Custom mode disabling basically everything including Xbox/Gaming stuff

Describe the issue

Image Here is the pop up. I fixed it with these regedits: reg add HKCR\ms-gamebar /f /ve /d URL:ms-gamebar 2>&1 >''

reg add HKCR\ms-gamebar /f /v "URL Protocol" /d " " 2>&1 >''

reg add HKCR\ms-gamebar /f /v "NoOpenWith" /d " " 2>&1 >''

reg add HKCR\ms-gamebar\shell\open\command /f /ve /d ""$env:SystemRoot\System32\systray.exe"" 2>&1 >''

reg add HKCR\ms-gamebarservices /f /ve /d URL:ms-gamebarservices 2>&1 >''

reg add HKCR\ms-gamebarservices /f /v "URL Protocol" /d " " 2>&1 >''

reg add HKCR\ms-gamebarservices /f /v "NoOpenWith" /d " " 2>&1 >''

reg add HKCR\ms-gamebarservices\shell\open\command /f /ve /d ""$env:SystemRoot\System32\systray.exe"" 2>&1 >''

Steps to reproduce

  1. run debloater and remove xbox/gamebar
  2. connect a controller

Error output

n/a

Additional context

No response

benjweaver avatar Oct 27 '25 17:10 benjweaver

Hi ! Finally a fix for that popup ! I have the same issue the moment I open a game or plug my controller. It does it since Windows 10 and I didn't find a fix until now. It would be lovely to implement this fix to the current script 😄

Ranak4n avatar Oct 27 '25 18:10 Ranak4n

Heya,

I'll see if I can integrate this into the script :)

Raphire avatar Oct 27 '25 19:10 Raphire

I've used these 2 regkeys and seems to fix it: reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" /d 0

Ankh- avatar Nov 05 '25 19:11 Ankh-

As of 6c201fc027603bad2589435e1054e71615be6b3c the script is able to disable settings related to controller integration and I also added the extra key mentioned by @Ankh- for disabling game/screen recording features that tie into the Game Bar.

You can quickly apply these settings by launching the script with the -DisableDVR and -DisableControllerOverlay parameters.

You'll also get the option to apply these changes if you opt to uninstall the Game Bar via the script.

Is anybody in the position to test if this is enough to disable the gaming overlay popups? The behaviour seems to be very inconsistent between machines, but in my testing this is sufficient.

Raphire avatar Nov 14 '25 23:11 Raphire

I can test it in a few weeks, will reinstall my PC then (new SSD).

Ankh- avatar Nov 15 '25 06:11 Ankh-