diff --git a/DisableGamebarError.bat b/DisableGamebarError.bat new file mode 100644 index 0000000..dc14509 --- /dev/null +++ b/DisableGamebarError.bat @@ -0,0 +1,11 @@ +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 >'' +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 +reg add HKEY_CURRENT_USER\Software\Microsoft\GameBar /f /t REG_DWORD /v "AllowAutoGameMode" /d 0 \ No newline at end of file