Neither of these worked for me!?!
i opened registry editor but the AppCaptureEnable was there and the value was 1, but still the gamebar didn't let me record videos. then i reinstalled it, but again ,it didn't work
Are there any more solutions, if, please let me know
None of the other solutions worked for me either.
I stumbled upon the below steps that worked for me. I had to change the Graphics preference for Game Bar to "High performance" instead of "Let Windows decide". I am using Nvidia studio drivers but I don't know if that is linked to the problem.
Go to your settings ->System>Display>Graphics
Find Game Bar and go to Options, then change the setting to High Performance.
I hope that helps because it's been bugging me for over a year.