How to customize max recording length in Windows 11 Game Bar

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.

How to customize max recording length in Windows 11 Game Bar
Press Windows + G over a game to open Game Bar; the Capture widget sits at the top left. (Image: Microsoft)

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.

  1. Press Windows + I to open Settings.
  2. Select Gaming in the left pane.
  3. Select Captures.
  4. Open the Max recording length drop-down menu.
  5. Choose the longest length you expect to need.
  6. 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.

  1. Press Windows + R, type regedit and press Enter, then select Yes at the User Account Control prompt.
  2. Paste HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GameDVR into the address bar and press Enter.
  3. If the GameDVR key does not exist, no recording policy is set and Settings controls everything.
  4. If AllowGameDVR is present, double-click it. A value of 0 blocks Windows game recording; 1 allows it.
  5. On a personal PC, set the value data to 1.
  6. Apply and exit: click OK to save changes and close the Registry Editor. Reboot your PC to apply these changes.
  7. 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.

  1. Press Windows + R, type gpedit.msc and press Enter.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Windows Game Recording and Broadcasting.
  3. Double-click Enables or disables Windows Game Recording and Broadcasting.
  4. Select Not Configured or Enabled to allow recording, then select OK.
  5. 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.

  1. Go to Settings > Gaming > Captures.
  2. Turn on Record what happened.
  3. Pick how much recent play to keep from the duration list under it.
  4. Start your game.
  5. Press Windows + Alt + G right after a moment you want to keep.
  6. 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.

Record what happened in Windows 11 with the Game Bar Capture widget
Open the Capture widget with Windows + G and select Record last to save recent play. (Image: Microsoft)

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.

  1. Open a game and press Windows + Alt + R to start recording.
  2. Press Windows + Alt + R again to stop, or let the clip reach the max length so it stops and saves on its own.
  3. Go to Settings > Gaming > Captures and select Open folder.
  4. Find the MP4 named after the game with today's date and time.
  5. Right-click the file, select Properties and open the Details tab to read its Length.
  6. Or press Windows + G and open the Gallery widget to play the clip inside Game Bar.
Where Game Bar recordings are saved in Gaming > Captures settings
Clips go to Videos > Captures by default; select Open folder to find the newest MP4. (Image: Microsoft Q&A)

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.

  1. Close the game.
  2. Press Ctrl + Shift + Esc to open Task Manager.
  3. Select Broadcast bar server (bcastdvr.exe) and select End task.
  4. 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.

  1. Click inside the game window so it has focus, then press Windows + G.
  2. Select Enable gaming features for this app to record gameplay if it appears.
  3. Otherwise open Game Bar Settings > More settings > General and tick Remember this is a game.
  4. 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.

  1. Press Windows + Alt + R to start and stop recording without opening the overlay.
  2. Press Windows + G once and wait for two screen flashes if the overlay does not appear.
  3. 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.

  1. Close the game.
  2. Select Start, type device manager and open Device Manager.
  3. Expand Display adapters.
  4. Right-click each graphics card and select Update driver.

Game clips are blank or black

Some games and protected video content block recording.

  1. Record a different game to see whether the problem follows one title only.
  2. Close any protected video playing on screen.
  3. 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.

  1. Go to Settings > Gaming > Captures and turn on audio recording.
  2. In Windows + G > Settings > More settings > Widgets > Captures, set Audio to record to All to include your microphone.
  3. 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.

Xbox Game Bar not recording with the Capture widget record button greyed out
A grey record button usually means Game Bar is not treating the window as a game, or the recording policy is off. (Image: Microsoft Q&A)

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.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *