@echo off
:: ============================================================
:: SetLightMode.bat
::
:: Enable Light Mode.
:: Reverts File Explorer and other system surfaces to light mode.
:: ============================================================

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v "AppsUseLightTheme" /t REG_DWORD /d "1" /f

if %ERRORLEVEL% EQU 0 (
    echo Enable Light Mode applied.
) else (
    echo Failed to apply tweak. Try running this script as Administrator.
)
pause