ms-gamingoverlay popup appears when a controller is connected
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
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
- run debloater and remove xbox/gamebar
- connect a controller
Error output
n/a
Additional context
No response
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 😄
Heya,
I'll see if I can integrate this into the script :)
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
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.
I can test it in a few weeks, will reinstall my PC then (new SSD).