Created
September 25, 2025 18:26
-
-
Save NullDev/4702b2079ed6d1698a2c6df6401bd3c0 to your computer and use it in GitHub Desktop.
Annoyed by "cannot open this ms-gamebar link" popups after deleting XBox Game Bar?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # If you are like me and uninstalled XBox Game Bar on windows, | |
| # you probably constantly see popups saying "cannot open this ms-gamebar link". | |
| # To get rid of them, open Powershell as Admin, | |
| # And paste those commands one-by-one: | |
| 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 >'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment