From 3fdf242a9bb04a67aed863f1f21f32345f0f1a9c Mon Sep 17 00:00:00 2001
From: diox8tony <diox8tony@gmail.com>
Date: Thu, 15 Feb 2018 01:01:33 -0700
Subject: [PATCH] Disable Aero-Shake feature with Registry key
 "HKCU:.....\Explorer\Advanced\DisallowShaking = 1"

---
 scripts/optimize-user-interface.ps1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/optimize-user-interface.ps1 b/scripts/optimize-user-interface.ps1
index b723b0a..f36d019 100644
--- a/scripts/optimize-user-interface.ps1
+++ b/scripts/optimize-user-interface.ps1
@@ -46,6 +46,9 @@ Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advan
 Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "HideDrivesWithNoMedia" 0
 Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "ShowSyncProviderNotifications" 0
 
+Write-Output "Disable Aero-Shake Minimize feature"
+Set-ItemProperty "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "DisallowShaking" 1
+
 Write-Output "Setting default explorer view to This PC"
 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "LaunchTo" 1