To open recording settings for gaming, go to the Start menu to choose Settings > Gaming > Captures, and you can adjust the settings as needed.
You can also enter Record in the search box of the Settings window, then double-click what you want to set to get into the settings interface.