GameBar.exe is Microsoft's Game Bar application. You can disable Game Mode and Game Bar in the Windows 10 Settings app. You can also try rebooting your PC and then immediately trying to install OBS so that Game Bar doesn't get a chance to hook into whatever it's hooking into.