Hello there,
Have you made any recent updates that you are aware of on this device? If so try uninstalling them and check if this sorts out the issue
You can make a registry tweak and see if that helps and make sure you made an restore points.
Browse to the path below:
HKEY_CURRENT_USER/SOFTWARE/Microsoft/Windows/CurrentVersion/GameDVR
Then, right-click the AppCaptureEnabled DWORD and select Modify.
If the DWORD’s value is 0, enter 1 in the Value data text box.
Now, navigate to GameConfigStore.
Right-click the GameDVR_Enabled DWORD and select Modify from the context menu to open the window below.
Enter 1 in the Value data text box if its current value is 0.
Restart Windows and press the Game bar hotkey.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–