If you shake any open window application fast, in Windows 8 or Windows 7, it minimizes all other windows, leaving this one open. Shake the window again, and all the closed windows will open up again. This is Aero Shake. In Windows 10 this feature is disabled by default and also referred to as Shake To Minimize. But then, as life is all about having options, if you don’t like or use this feature, you can easily disable Aero Shake.
Disable or Enable Aero Shake
Using Group Policy Editor
To disable Aero Shake, type gpedit.msc in the Start search box and hit Enter to open the Group Policy Editor.
Navigate to User Configuration > Administrative Templates > Desktop
Now in the right pane, navigate to Turn off Aero Shake window minimizing mouse gesture.
This policy setting prevents windows from being minimized or restored when the active window is shaken back and forth with the mouse. If you enable this policy, application windows will not be minimized or restored when the active window is shaken back and forth with the mouse. If you disable or do not configure this policy, this window minimizing and restoring gesture will apply.
Click on Edit policy setting and in the window which appears, change its status to Enabled.
Click Apply > OK.
Using Registry Editor
Open Registry Editor and navigate to the following key:
See if DWORD DisallowShaking exists. If it does not, create it and give it a value of 1.
Exit REGEDIT and restart your PC.
Hope this helps!