Hi, good day!
Please try the method below.
Uninstall Xbox Game Bar via PowerShell
Press Windows key + X
Select PowerShell (Admin)
Copy and paste the command below then press Enter
get-appxpackage *Microsoft.XboxGamingOverlay* | remove-appxpackage
I look forward to receiving your update and I'm willing to collaborate with you till we resolve the issue. Do keep me informed by clicking "Add comment" below.