🖥️ Batch (CMD)

Disable Aero Shake (Batch)

Stops shaking a window from minimizing every other open window. Applies the tweak via reg.exe.

By WindowsScripting.com · 543 B
SetDisableAeroShake.bat
@echo off
:: ============================================================
:: SetDisableAeroShake.bat
::
:: Disable Aero Shake.
:: Stops shaking a window from minimizing every other open window.
:: ============================================================

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DisallowShaking" /t REG_DWORD /d "1" /f

if %ERRORLEVEL% EQU 0 (
    echo Disable Aero Shake applied.
) else (
    echo Failed to apply tweak. Try running this script as Administrator.
)
pause