If you’re running Pro or higher, you can use Group Policy to disable Aero Shake instead of a Registry edit.
Press the Windows key and enter “gpedit.msc” to launch the Local Group Policy Editor
Navigate to “User Configuration–>Administrative Templates–>Desktop”
Double-click “Turn off Aero Shake window minimizing mouse gesture” and select “Enabled” to disable it.