Attribute VB_Name = "DisableAeroShakeRegSet"
Option Explicit

Public Sub DisableAeroShakeRegSet()
    Dim wsh As Object
    Dim regPath As String

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking"

    wsh.RegWrite regPath, 1, "REG_DWORD"

    MsgBox "Disable Aero Shake applied." & vbCrLf & regPath, vbInformation
End Sub