Game Bar blocks recording the moment its active window is Windows desktop or File Explorer, because Microsoft disables capture for those two shells by design. File Explorer is a standard Win32 window, not a Game Bar-recognized game, so the recorder's "Gaming feature not available for the Windows desktop or file explorer" message fires. The fix is a two-part route: capture the desktop with a recorder that allows it, or enable the built-in screen-recording path for non-game apps, which lives in Settings under Captures and requires Windows 11 version 22H2 or later.

Why Game Bar Refuses the Desktop and File Explorer

The block is intentional, not a bug. Game Bar's recorder was built for DirectX and UWP games that present full-screen or borderless surfaces, and Microsoft treats Explorer and the desktop shell as protected system surfaces where capture would either fail or capture the wrong content. That distinction explains why Alt+Tab from a game into Explorer can kill a recording mid-session.

The check is window-based, not app-based. Game Bar inspects the foreground process and its window class; explorer.exe hosting the desktop, the taskbar, and File Explorer windows all report as shell windows, which the recorder rejects before the encoding pipeline starts. An ordinary app with a standard frame β€” Notepad, Chrome, Excel β€” passes the same check.

Windows 11 changed this in one narrow way. Builds from 22H2 onward let Game Bar record any app you select through the Settings capture list, but Explorer and the desktop remain excluded from that list. If you are on Windows 10, the whole-app recording route does not exist at all, so only a third-party recorder solves it there.

The message text itself is worth reading closely. It names two separate blocks β€” "Windows desktop" and "file explorer" β€” and the second one trips people who are not on either: a File Explorer window sitting behind a game can become the foreground window if a notification steals focus, and Game Bar reports the Explorer block even though the user believes a game is running.

Confirm Your Windows Build and Game Bar Version First

Two version facts decide which fixes apply, so check them before changing anything. Press Win+R, type winver, and press Enter: the dialog reports the Windows version and OS build number. Windows 11 22H2 corresponds to build 22621, and the captures settings interface for non-game apps arrived with that release.

Game Bar has its own version. Open Game Bar with Win+G, go to Settings (the gear icon) and then About, and read the version number shown there. Game Bar is a Store-updated app, so updates arrive independently of Windows updates β€” a machine can run an old Game Bar on a new Windows build or the reverse, and the mismatch causes odd behaviors like the recorder button appearing greyed out.

Check that Game Bar itself is enabled. Go to Settings β†’ Gaming β†’ Game Bar and confirm the toggle is on; the same page carries the keyboard shortcut assignment for Win+G. If the toggle is off, any recording attempt falls back to a generic "not available" state without the app-specific message.

Finally, confirm the game or app bar. Win+G shows the capture widget only when Game Bar detects an app it accepts. If the widget shows a crossed-out record icon, the foreground window failed the check β€” that is the visual equivalent of the error message and a quick way to test a fix without triggering a full recording attempt.

Six Fixes That Clear the Error

Work through these in order. Each one addresses a different cause, and the first three resolve the majority of reports because they fix the foreground-window problem rather than the capture problem.

1: Bring the target app to the foreground and click inside its window before pressing Win+G. Game Bar reads the focused window, so a gamepad-connected game that launched behind a File Explorer window will trigger the block until you click into it. 2: Press Alt+Enter to switch the game from full-screen to borderless windowed mode, or set the mode in the game's own display options. Exclusive full-screen swaps the desktop compositor out and can leave the desktop as the reported foreground surface on some drivers. 3: Update Game Bar through the Microsoft Store: open Store, go to Library, and click Get updates. Then update the Xbox Game Bar entry if one appears and restart the PC. 4: Toggle the desktop capture route: Settings β†’ Gaming β†’ Captures, and turn on the setting that records non-game apps, then add the app from the list. File Explorer still cannot be added, but any Win32 app with a standard window can. 5: Repair the app: Settings β†’ Apps β†’ Installed apps β†’ Xbox Game Bar β†’ Advanced options β†’ Repair, then Reset if Repair fails. Repair keeps settings; Reset wipes them. 6: Switch recorders for desktop work. Snipping Tool on Windows 11 records the full screen with no game check, and OBS Studio records the desktop, Explorer, and the taskbar without complaint.

If step 1 fails, check what actually has focus using Task Manager's Details tab β€” sort by CPU and watch for a shell or notification process grabbing the foreground. If step 2 fails, note the game's own capture setting: some titles block all overlays unless a "capture" or "overlay" option inside the game's graphics menu is enabled.

Record the Desktop and File Explorer with Windows 11's Built-In Path

Windows 11 22H2 and later ship a second recorder that ignores the game check entirely. Open Settings β†’ Gaming β†’ Captures and look for the app capture section, where you enable recording for non-game apps and pick a target from the list of open windows. The list never includes Explorer or the desktop itself, so this route covers apps like browsers or Office but not file browsing.

For straight desktop footage, Snipping Tool is the practical answer. Open it, click the video-record button, choose Full screen or a region, and start recording; it saves an MP4 to the Videos β†’ Screen Recordings folder. It has no game detection and no overlay requirement, and it works on Windows 11 builds where Game Bar refuses.

The built-in Xbox Console Companion path died with the app. Older guides tell users to open Console Companion β†’ Game DVR β†’ "Record this PC" to force desktop capture, but Console Companion was removed from the Store and the feature no longer exists on current builds. Treat any guide recommending it as stale.

Compare the three built-in options before choosing:

Recorder Captures desktop and Explorer Requires Windows 11 22H2+ Output location Game check
Game Bar No β€” Videos β†’ Captures Yes, blocks shells
Snipping Tool Yes No, Windows 11 only Videos β†’ Screen Recordings None
Settings app capture Any app except Explorer and desktop Yes Videos β†’ Captures None for listed apps

If you need explorer.exe footage specifically, Snipping Tool is the only first-party option that works, and it carries one real drawback: no game audio capture, only system audio and microphone via the toolbar toggles.

Set the Microphone and Audio So the Recording Is Not Silent

Recording without sound is a common follow-up complaint, and the fixes differ per recorder. In Game Bar, open Win+G β†’ Settings β†’ Capturing and confirm the "Record audio when I record a game" toggle is on, then choose the correct microphone from the dropdown. Game Bar records the default playback device plus the chosen mic, so a headset that appears as two devices can leave one channel silent.

Snipping Tool has its own toggles in the recording toolbar: a microphone button and a system audio button, both off by default on some builds. Click each before you start recording, and verify the level meter moves when you speak β€” the meter is the only pre-recording confirmation the tool offers.

For OBS Studio, add sources explicitly: a Display Capture for the screen, an Audio Output Capture for system sound, and an Audio Input Capture for the mic. Set the Windows audio device to the one you actually use, because OBS binds to the device name at source creation and will record silence if that device is disconnected or renamed.

Test once, briefly. Record ten seconds of desktop, play it back, and confirm video and both audio channels. Two minutes of checking beats an hour of unusable footage, and the desktop is the easiest surface to spot a missing window or a black frame.

Worked Example: Capturing Desktop Steps Without the Block

Say you need to record a walkthrough of moving files in File Explorer. Game Bar will refuse at the first frame, so route around it. This sequence takes about four minutes end to end, most of it setup.

1: Open Settings β†’ Gaming β†’ Captures and confirm the capture folder path, since Snipping Tool saves to a different folder and you want to know both locations. 2: Open Snipping Tool from the Start menu, click Record, and select the region covering the Explorer window and taskbar. 3: Turn on system audio and microphone in the toolbar if the walkthrough needs narration; leave them off for silent footage to avoid clipping. 4: Start recording, perform the file moves in Explorer, then stop from the toolbar's stop button rather than a keyboard shortcut, which Snipping Tool does not assign by default. 5: Open the saved file from the notification, trim the ends in the editor, and save the final clip.

Every frame here is content Game Bar explicitly refuses, which is why the first-party recorder swap matters more than any Game Bar setting. If a colleague insists on Game Bar, the honest answer is that the desktop cannot be its target on current builds.

For long captures, watch disk space. A 1080p Snipping Tool recording runs at a modest bitrate, but an hour of desktop footage still consumes gigabytes; check free space on the drive holding Videos before starting, and move older captures off the boot drive if space is tight.

Compare Recorders: OBS Studio, Snipping Tool, and Game Bar

Pick based on what you record and who watches it. The table below scores each tool on the dimensions that decide desktop capture work.

Criterion Game Bar Snipping Tool OBS Studio
Desktop and Explorer capture Blocked Yes Yes
Scene switching and overlays Basic None Full scene and source model
Encoding control Minimal Minimal Full, including bitrate and format
Setup time for a one-off clip Seconds Seconds Ten to twenty minutes
Best for Games only Quick desktop clips Long sessions, streaming, multi-source

OBS wins whenever the recording needs more than one source, runs longer than a few minutes, or must be encoded to a specific format. Snipping Tool wins for the ten-second proof clip you send to a teammate. Game Bar wins only inside its lane β€” a game in borderless or full-screen windowed mode with a gamepad in hand.

The drawback of the recommended pick depends on the job. For quick desktop clips, Snipping Tool's weakness is its lack of editing and scene management. For serious work, OBS's weakness is that a misconfigured source records a black screen or silence, and the fix is not obvious unless you know the source-binding rule.

Stop Notifications and Focus Steals That Trigger the Error Mid-Recording

A recording that starts fine and then throws the error partway through usually lost the foreground window. Windows notifications, a background app's update prompt, or a UAC dialog all can pull focus to a surface Game Bar refuses. Turn on Focus Assist (Settings β†’ System β†’ Focus assist) and set it to Priority only or Alarms only for the recording session.

UAC prompts deserve special mention. Recording an installer or an elevated app causes the secure desktop to appear, and Game Bar cannot capture the secure desktop at all β€” the recording simply stops. Run the elevated work first, then record the result.

For OBS and Snipping Tool, focus steals matter less: Snipping Tool records the region regardless of which window sits on top, and OBS records the display. That is another argument for switching tools when the desktop is the subject rather than the game.

Keep the capture widget visible. Win+G pins it, and a glance confirms whether recording is still active before you walk away from a long session. On a multi-monitor setup, note that Game Bar follows the monitor hosting the game; Snipping Tool's full-screen mode records the primary display unless you pick a region.

When the Error Persists: Drivers, Overlays, and Clean Reinstall

If all six fixes fail, the problem sits below the app layer. Start with the GPU driver: update through the manufacturer's own utility β€” NVIDIA App, AMD Software, or Intel Driver & Support Assistant β€” rather than Windows Update, which often ships older builds. A stale driver can break the capture API Game Bar calls, and the failure surfaces as the same generic message.

Close competing overlays. Discord, NVIDIA's overlay, AMD's overlay, and Steam's overlay all hook into the same capture paths, and two overlays fighting over one DirectX surface produce capture failures that look like permission errors. Disable each from its own settings, test, then re-enable one at a time.

Do the clean reinstall as a last resort, not a first step. Uninstall Xbox Game Bar from Settings β†’ Apps, restart, then reinstall it from the Microsoft Store. Reinstalling rebuilds the capture pipeline and resets the registry entries Game Bar uses to remember per-game recording permissions.

If the error appears only in one game, suspect the game. Titles with anti-cheat systems sometimes block all capture, and the block is deliberate; no Game Bar setting overrides it. Check the anti-cheat vendor's documentation before spending an evening on driver reinstalls, because the answer may be that the recording is not permitted at all.

FAQ

Does the "not available for the Windows desktop or file explorer" message mean Game Bar is broken?

No β€” it means Game Bar caught exactly what it is built to catch. Microsoft's Game Bar documentation frames the recorder as a game-capture tool, and the desktop shell has never been a supported target. A Game Bar install that lets you record Explorer is the unusual one, so treat the message as confirmation the app is working as designed.

Can I record File Explorer with Game Bar on Windows 10?

Not through any supported setting. Windows 10's Game Bar lacks the app-capture list that Windows 11 22H2 added, so the only route is a different recorder, such as the Windows 10 Snipping Tool (which gained recording in later Windows 11 builds only) or OBS Studio. On Windows 10, OBS is the realistic desktop-capture answer.

Why does Game Bar record my game but block me the moment I open File Explorer?

Because the recorder follows the foreground window, and Explorer instantly becomes the foreground window when opened. Minimize it and refocus the game before pressing Win+G again, or better, switch the game to borderless windowed mode so the capture surface survives window switches. Full-screen exclusive games lose the surface the moment focus moves.

Is the error the same as "This PC can't record" or a greyed-out record button?

Different messages, different causes. A greyed-out record button often means the game or app is not in the capture list, or the GPU driver does not support hardware encoding for that surface. The help text "Gaming feature not available" is the shell-window block specifically, so do not apply capture-list fixes to a desktop error.

How much disk space does a half-hour desktop recording take?

At 1080p, Snipping Tool's screen recordings run modestly β€” check the file size of a one-minute test to project your own numbers rather than trusting a generic figure. OBS gives direct control: at a 6,000 Kbps video bitrate, a 30-minute recording lands near 1.35 GB, computed as 6,000 kilobits Γ— 1,800 seconds Γ· 8. Set the bitrate to fit the space you have.

Do I need a third-party app to record the desktop, or is there a free Microsoft tool?

There is a free Microsoft tool: Snipping Tool's video recording on Windows 11. It records full screen or a region with system audio and microphone toggles, and it has no game detection. The Microsoft Store's Clipchamp can also record screen and webcam, which is a second first-party path worth trying before installing anything.

Why did the fix work once and then the error came back?

Something is stealing focus after you start recording. Notifications, an update prompt, a UAC dialog, or a second overlay hooking the capture surface all restart the foreground check. Enable Focus Assist for the session, close competing overlays one at a time, and run any elevated installs before you hit record.

Will these fixes also solve the error for apps other than games and Explorer?

Partly. The app capture list in Settings β†’ Gaming β†’ Captures lets Game Bar record any standard Win32 or UWP app it lists, which covers most non-game software. It will not cover Explorer, the desktop, or the secure desktop, and it will not help on Windows 10, where the list does not exist.