🖥️ Batch (CMD)

Check "Enable Light Mode" Status (Batch)

Uses reg query to check the current value behind the "Enable Light Mode" tweak.

By WindowsScripting.com · 462 B
CheckLightModeStatus.bat
@echo off
:: ============================================================
:: CheckLightModeStatus.bat
::
:: Checks whether "Enable Light Mode" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" 2>nul

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