"1. Type in "registry editor" in windows search bar, right click and run as administrator.
2. We are going to check HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ (copy and paste)
Choose "GameDVR" from the right panel and change "AllowGameDVR" to 1.
If there isn't one:
Right click the empty area, choose "New" and then "Key"
Name it to GameDVR. It makes a new key / "folder".
Inside the GameDVR key, right click the empty area again, click "New" and choose "DWORD".
Name it to "AllowGameDVR". Double click it and set it to 1.
3. Go to HKEY_CURRENT_USER\System\GameConfigStore (copy and paste)
Double click "GameDVR_Enabled" and change it to 1.
4. Go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR
Double click on AppCaptureEnabled and set it to 1.
This SHOULD solve your problem. I was having this problem for a while after every windows update and this seemed to fix it because "AllowGameDVR" was missing."