Closed procionecurioso closed 1 month ago
Well, I am not a gamer, and I am not familiar with all these Xbox services. I can indeed reproduce the issue when I download and run Microsoft's Solitaire & Casual Games app from the store.
As you suggested, I tried to suppress the pop-up by adding some registry values according to this Reddit post by AveYo. Without stderr and stdout redirection, the commands look like this:
reg.exe add HKCR\ms-gamebar /f /ve /d URL:ms-gamebar
reg.exe add HKCR\ms-gamebar /f /v "URL Protocol" /d ""
reg.exe add HKCR\ms-gamebar /f /v "NoOpenWith" /d ""
reg.exe add HKCR\ms-gamebar\shell\open\command /f /ve /d "C:\Windows\System32\systray.exe"
reg.exe add HKCR\ms-gamebarservices /f /ve /d URL:ms-gamebarservices
reg.exe add HKCR\ms-gamebarservices /f /v "URL Protocol" /d ""
reg.exe add HKCR\ms-gamebarservices /f /v "NoOpenWith" /d ""
reg.exe add HKCR\ms-gamebarservices\shell\open\command /f /ve /d "C:\Windows\System32\systray.exe"
Such commands can easily be run by adding them in the Scripts to run in the system context section of my form. But unfortunately, they just don't work for me, i.e. the annoying pop-up still appears.
Furthermore, when I install the Xbox app, it immediately complains about missing dependencies:
If you intend to use Xbox services, it is probably best not to select the Xbox Apps components for removal in the first place.
it looks like I found the solution we have to put these two reg keys, I also downloaded solitaire to try specifically there and I don't get the pop up anymore, here are the keys:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR]
"AppCaptureEnabled"=dword:00000000
"HistoricalCaptureEnabled"=dword:00000000
EDIT: Eventually the pop up comes back as well with this reg key
When you remove the xbox apps with the unattend file, if you open a game you get a pop up I think because the gamebar is missing in the pc, I tried to solve by disabling from regedit the overlay capture part as written on a post on reddit but it doesn't work. Here is the pop up