🖥️ Batch (CMD)

Check "Disable Background Apps Globally" Status (Batch)

Uses reg query to check the current value behind the "Disable Background Apps Globally" tweak.

By WindowsScripting.com · 501 B
CheckDisableBackgroundAppsStatus.bat
@echo off
:: ============================================================
:: CheckDisableBackgroundAppsStatus.bat
::
:: Checks whether "Disable Background Apps Globally" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications" /v "GlobalUserDisabled" 2>nul

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