Skip to content

Instantly share code, notes, and snippets.

@stonstad
Created June 27, 2025 12:02
Show Gist options
  • Save stonstad/5bc490365ad72b10a65b6ed3bcb9a6bb to your computer and use it in GitHub Desktop.
Save stonstad/5bc490365ad72b10a65b6ed3bcb9a6bb to your computer and use it in GitHub Desktop.
Disable Windows 11 Game Bar
The Windows 11 Game Bar process causes Unity editor and Unity built games to freeze when the parent window is resized.
Powershell (Admin)
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment