Sets AppCaptureEnabled = 0 under the per-user GameDVR key. Stops the Xbox Game Bar's capture pipeline from hooking into running games, which removes its constant GPU/CPU overhead and the small input-latency cost it adds. You can still screenshot/record with other tools. Safe and reversible.
MaxTweaks applies this tweak with one click and snapshots your original setting first, so you can revert it cleanly at any time. A System Restore point is offered before batch changes, and every tweak links to its official source.
Get MaxTweaksOfficial documentation: https://learn.microsoft.com/en-us/windows/uwp/xbox-game-bar/