🖥️ Batch (CMD)

Check "Disable Xbox Game Bar Capture" Status (Batch)

Uses reg query to check the current value behind the "Disable Xbox Game Bar Capture" tweak.

By WindowsScripting.com · 468 B
CheckDisableGameBarStatus.bat
@echo off
:: ============================================================
:: CheckDisableGameBarStatus.bat
::
:: Checks whether "Disable Xbox Game Bar Capture" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" 2>nul

if %ERRORLEVEL% NEQ 0 (
    echo.
    echo 'AppCaptureEnabled' is not set (using the Windows default^).
)
pause