Skip to content

Instantly share code, notes, and snippets.

@philippgitpush
Last active December 7, 2025 10:27
Show Gist options
  • Select an option

  • Save philippgitpush/011144907c35013f6fc8151ad5ef892c to your computer and use it in GitHub Desktop.

Select an option

Save philippgitpush/011144907c35013f6fc8151ad5ef892c to your computer and use it in GitHub Desktop.
Disable / Remove Xbox Gamebar / GamingOverlay Link-Popups on WIndows 11 IoT Enterprise LTSC
# Remove Xbox App
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
# Disable ms-gamingoverlay links
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
# Disable ms-gamebar links
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 >''
@philippgitpush
Copy link
Author

philippgitpush commented Dec 9, 2024

Alternatively, install Gamebar: https://aka.ms/GamingRepairTool

@cco
Copy link

cco commented Sep 28, 2025

Thank you, seems these regedits did the fix. Some googling resulted lines 5 & 6, but it looks like the rest are needed. Windows 11 Pro.

@Zeeshan2509
Copy link

Thanks for saving me, I was trying to fix it for hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment