@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