🖥️ Batch (CMD)

Check "Disable Aero Shake" Status (Batch)

Uses reg query to check the current value behind the "Disable Aero Shake" tweak.

By WindowsScripting.com · 465 B
CheckDisableAeroShakeStatus.bat
@echo off
:: ============================================================
:: CheckDisableAeroShakeStatus.bat
::
:: Checks whether "Disable Aero Shake" is currently applied.
:: ============================================================

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisallowShaking" 2>nul

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