📜 VBScript (WSH)

Check "Disable Aero Shake" Status (VBScript)

Reads the registry value behind the "Disable Aero Shake" tweak to confirm whether it's applied.

By WindowsScripting.com · 701 B
CheckDisableAeroShakeStatus.vbs
' ============================================================
' CheckDisableAeroShakeStatus.vbs
'
' Checks whether "Disable Aero Shake" is currently applied.
'
' Usage: cscript CheckDisableAeroShakeStatus.vbs
' ============================================================

Option Explicit

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

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking")

If Err.Number <> 0 Then
    WScript.Echo "'DisallowShaking' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'DisallowShaking': " & currentValue
End If
On Error Goto 0