I solved the problem using this method I hope it helps
Original post:Reddit - Dive into anything
Thanks to a wonderful member u/SnooBunnies2012 there is now a solution that worked perfectly f or me?
opted out of xbox pc insider then uninstalled it. Then uninstalled game bar using terminal administrator copy this in
Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name "*Microsoft.XboxGamingOverlay*" | Remove-AppxPackage -AllUsers
then i uninstalled
Xbox App
Gaming Services
Xbox Live
Then restarted computer and then went back to store reinstall xbox app run in and then let it update the stuff needed after that in store type in game bar and install it. After that go back into terminal administrator and type in each one separate and enter Type in the following commands. Ensure that you press Enter after entering each command:
sfc /scanfile=c:\windows\system32\ieframe.dll
sfc /verifyfile=c:\windows\system32\ieframe.dll
sfc /scannow
once done restart computer and load game and should then all work for you. Hope This helps
If this fix works for you, please make sure to upvote their comment below.