📜 VBScript (WSH)
Disable Aero Shake (VBScript)
Stops shaking a window from minimizing every other open window. Applies the tweak via WScript.Shell.RegWrite.
SetDisableAeroShake.vbs
' ============================================================
' SetDisableAeroShake.vbs
'
' Disable Aero Shake.
' Stops shaking a window from minimizing every other open window.
'
' Usage: cscript SetDisableAeroShake.vbs
' ============================================================
Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
On Error Resume Next
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking", 1, "REG_DWORD"
If Err.Number = 0 Then
WScript.Echo "Disable Aero Shake applied."
Else
WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0