if you are experiencing problems with Xbox Game Bar on Windows 10/11, you are not alone.
To download files use:
git clone https://github.com/vault88/xbox-game-bar-fix
First of all try pressing Win + G. If Game Bar starts but all "record" and "screenshot" buttons are greyed out, then try applying Registry Tweaks:
start dvr-enable.reg and reboot your Computer.
Try reinstalling the App.
start reinstall-xbox-game-bar.bat
Or run PowerShell and execute the folowing:
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage
Then
winget install 9NZKPSTSNW4P --source msstore --accept-source-agreements --accept-package-agreements
NOTE: This action will reset all Xbox Game Bar settings and reinstalls it from Microsoft Store.
I hope it helps you.
Feel free to comment and add Issues, I would like to add some more tips and tricks to help everyone conquer that buggy app.