Step 1. Adjust the settings
First, make sure that the game you want to record is up and running. Additionally, ensure that Game Bar is enabled. Press Windows + I to open Settings. Then go to Gaming. Click on Game Bar. Ensure that Record game clips, screenshots, and broadcast using Game Bar is toggled on.