📜 VBScript (WSH)

Disable Window Animations (VBScript)

Disables minimize/maximize window animations for a snappier feel. Applies the tweak via WScript.Shell.RegWrite.

By WindowsScripting.com · 679 B
SetDisableAnimations.vbs
' ============================================================
' SetDisableAnimations.vbs
'
' Disable Window Animations.
' Disables minimize/maximize window animations for a snappier feel.
'
' Usage: cscript SetDisableAnimations.vbs
' ============================================================

Option Explicit

Dim objShell
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
objShell.RegWrite "HKCU\Control Panel\Desktop\WindowMetrics\MinAnimate", "0", "REG_SZ"

If Err.Number = 0 Then
    WScript.Echo "Disable Window Animations applied."
Else
    WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0