To customize the max recording length in Windows 11 Game Bar, open Settings > Gaming > Captures and pick a new value in the Max recording length menu.
This guide covers that setting, what the registry and Group Policy actually control, background recording with Record what happened, the other capture options, and what to do when clips stop short.

Method 1: Change max recording length via Settings app
The max recording length caps any clip you start with Windows + Alt + R or the Start recording button. When a recording reaches that length, Game Bar stops it and saves the clip automatically.
- Press Windows + I to open Settings.
- Select Gaming in the left pane.
- Select Captures.
- Open the Max recording length drop-down menu.
- Choose the longest length you expect to need.
- Save changes: once you've made your selection, close the Settings app. Windows applies the new length straight away, with no restart.
Capture settings in Windows Settings and in Game Bar's own settings stay in sync, so the new length also applies to the Capture widget inside Game Bar.
Understanding the Game Bar
Xbox Game Bar is the overlay built into Windows 11 and Windows 10 that records game clips, takes screenshots and shows widgets over a game. Press Windows + G to open it.
| Game Bar recording setting | What it controls | Where to change it |
|---|---|---|
| Max recording length | The longest a clip you start manually can run before it stops and saves | Settings > Gaming > Captures |
| Record what happened (background recording) | Keeps the most recent moments of play so you can save them after they happen | Settings > Gaming > Captures |
| Audio recording | Whether clips include game, system and microphone sound, plus bitrate and levels | Settings > Gaming > Captures |
| Frame rate and video quality | Smoothness, resolution and bitrate of each clip | Settings > Gaming > Captures |
| Audio to record | Game only, All or None for the Capture widget | Windows + G > Settings > More settings > Widgets > Captures |
Clips save as MP4 files and screenshots as PNG files in Videos > Captures. Each file name carries the game or app name plus the date and time.
Method 2: Change max recording length via Registry Editor
Microsoft does not document a registry value for the max recording length, so the supported way to change the length is the Settings menu in Method 1. The registry value Microsoft does document for Game Bar recording is the AllowGameDVR policy, which decides whether recording is allowed at all.
Check it when the Captures options are missing or recording is blocked. Back up the key first by selecting File > Export in Registry Editor.
- Press Windows + R, type
regeditand press Enter, then select Yes at the User Account Control prompt. - Paste
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVRinto the address bar and press Enter. - If the GameDVR key does not exist, no recording policy is set and Settings controls everything.
- If AllowGameDVR is present, double-click it. A value of
0blocks Windows game recording;1allows it. - On a personal PC, set the value data to
1. - Apply and exit: click OK to save changes and close the Registry Editor. Reboot your PC to apply these changes.
- Return to Settings > Gaming > Captures and set Max recording length there.
On a work or school PC, this value usually comes from your IT department through Group Policy or device management, and a local change can be reapplied at the next policy refresh.
Windows Game Recording and Broadcasting group policy
Windows 11 Pro, Enterprise and Education include a Group Policy for the same switch. Its friendly name is Enables or disables Windows Game Recording and Broadcasting, and disabling it turns off Windows game recording entirely.
- Press Windows + R, type
gpedit.mscand press Enter. - Go to Computer Configuration > Administrative Templates > Windows Components > Windows Game Recording and Broadcasting.
- Double-click Enables or disables Windows Game Recording and Broadcasting.
- Select Not Configured or Enabled to allow recording, then select OK.
- Restart the PC, then change Max recording length in Settings > Gaming > Captures.
The policy writes the AllowGameDVR value under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR, so it and Method 2 are two views of the same setting. Neither one sets a clip length.
How to turn on Record what happened in Windows 11
Background recording is a separate setting from the max recording length. It is off by default because it uses system resources while you play, and it is what the Windows + Alt + G shortcut needs.
- Go to Settings > Gaming > Captures.
- Turn on Record what happened.
- Pick how much recent play to keep from the duration list under it.
- Start your game.
- Press Windows + Alt + G right after a moment you want to keep.
- Or press Windows + G, open the Capture widget and select the Record last button.
Leave Record what happened off on a low-powered laptop if games stutter with it on. Manual recording with Windows + Alt + R still works without it.

Max recording length vs Record what happened
The two length settings sit on the same Settings page and are easy to mix up. Each one answers a different question.
| What you want | Setting to change | Shortcut that uses it |
|---|---|---|
| Record a whole match or a long session from now on | Max recording length | Windows + Alt + R to start and stop |
| Save something that already happened | Record what happened and its duration | Windows + Alt + G |
| Stop long clips filling the drive | A shorter Max recording length | Windows + Alt + R |
| Lower the load background recording puts on the PC | Turn Record what happened off | None; record manually instead |
Additional customization for Game Bar
Long clips are large files, so the quality, audio and folder settings matter as much as the length. All of these live in Windows Settings or Game Bar's own settings panel.
| Customization | Where | Effect |
|---|---|---|
| Video frame rate | Settings > Gaming > Captures | Higher frame rates look smoother but make the PC work harder |
| Video quality | Settings > Gaming > Captures | Sets both resolution and bitrate, which drives file size |
| Capture mouse cursor | Settings > Gaming > Captures | Shows or hides the pointer in recordings |
| Recorded audio | Settings > Gaming > Captures | Turn audio on, include system and mic audio, set bitrate and volume levels |
| Audio to record | Windows + G > Settings > More settings > Widgets > Captures | Game only, All (mic, music and system sounds) or None |
| Keyboard shortcuts | Windows + G > Settings > More settings > Shortcuts | Type a new combination, then select Save |
| Captures folder | File Explorer | Move the Captures folder to a bigger drive; Windows keeps saving there |
You can enable and set up Xbox Game Bar from the same Gaming page if the overlay itself is switched off.
Where are Game Bar recordings saved in Windows 11
A test clip shows whether the new length is in force. Record past a short limit, then open the file.
- Open a game and press Windows + Alt + R to start recording.
- Press Windows + Alt + R again to stop, or let the clip reach the max length so it stops and saves on its own.
- Go to Settings > Gaming > Captures and select Open folder.
- Find the MP4 named after the game with today's date and time.
- Right-click the file, select Properties and open the Details tab to read its Length.
- Or press Windows + G and open the Gallery widget to play the clip inside Game Bar.

Xbox Game Bar not recording full length
A clip that ends early or never starts usually traces back to one of six causes. Match your symptom and work through its steps.
Recording only worked once or twice, then stopped
A previous recording did not end cleanly and the Game Bar broadcast server is stuck.
- Close the game.
- Press Ctrl + Shift + Esc to open Task Manager.
- Select Broadcast bar server (bcastdvr.exe) and select End task.
- Start the game and record again.
The record button is greyed out or nothing records
Game Bar does not treat the window as a game, or the recording policy is off.
- Click inside the game window so it has focus, then press Windows + G.
- Select Enable gaming features for this app to record gameplay if it appears.
- Otherwise open Game Bar Settings > More settings > General and tick Remember this is a game.
- Check the AllowGameDVR value in Method 2 if recording is blocked in every game.
A full-screen game will not record
The overlay stays hidden in full-screen mode, but the shortcuts still work.
- Press Windows + Alt + R to start and stop recording without opening the overlay.
- Press Windows + G once and wait for two screen flashes if the overlay does not appear.
- If the game blocks the keys, switch it to a borderless window and try again.
"This PC doesn't meet the hardware requirements for recording clips"
The graphics driver is outdated, or the GPU lacks an Intel Quick Sync H.264, NVIDIA NVENC or AMD VCE encoder.
- Close the game.
- Select Start, type
device managerand open Device Manager. - Expand Display adapters.
- Right-click each graphics card and select Update driver.
Game clips are blank or black
Some games and protected video content block recording.
- Record a different game to see whether the problem follows one title only.
- Close any protected video playing on screen.
- If only one game gives blank clips, that game blocks capture.
Clips have no sound
Audio recording is off or set to the wrong source.
- Go to Settings > Gaming > Captures and turn on audio recording.
- In Windows + G > Settings > More settings > Widgets > Captures, set Audio to record to All to include your microphone.
- Open the Audio widget and check that your headset is the input and output device.
On a Windows N edition, install the Media Feature Pack before recording. The Xbox app, Game Bar and PC gaming hub collects the related Xbox fixes in one place.

Game Bar max recording length FAQ
Where is the max recording length setting in Windows 11?
It is in Settings > Gaming > Captures, in the Max recording length drop-down. The same capture settings also appear in Game Bar's own settings panel, and a change in one place shows in the other.
Do I need to restart after changing the max recording length?
No. Choose a new value in Settings > Gaming > Captures and close the Settings app. The next clip you start with Windows + Alt + R uses the new limit straight away.
What happens when a Game Bar clip reaches the max recording length?
Game Bar stops the recording and saves the clip automatically. The MP4 file appears in Videos > Captures, named after the game with the date and time, and you can start a new clip right away.
Is there a registry value for the Game Bar recording length?
Microsoft does not document one. The registry value it does document is AllowGameDVR under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR, which only allows or blocks Windows game recording. Set the length in Settings instead.
What is the difference between Record what happened and max recording length?
Record what happened keeps the most recent moments of play so Windows + Alt + G can save them after the fact. Max recording length caps a clip you start manually with Windows + Alt + R.
Why does Game Bar stop recording before the max length?
The usual causes are a stuck broadcast server, a game that blocks capture, or recording turned off by policy. End Broadcast bar server (bcastdvr.exe) in Task Manager, then test another game to narrow it down.
Can Game Bar record the desktop or File Explorer?
No. Game Bar records games and apps, not the Windows desktop or File Explorer. In Windows 11, press Windows + Shift + R to record a region of the screen with Snipping Tool instead.
How do I make long Game Bar recordings smaller?
Lower the video quality and frame rate in Settings > Gaming > Captures. Quality sets both resolution and bitrate, so a lower setting cuts the size of long clips the most.





