Turn off Aero Shake window minimizing mouse gesture
Désactiver les mouvements de souris réduisant la fenêtre Aero Shake
Explanation
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.
Empêche de réduire ou de restaurer les fenêtres lorsque des mouvements de va-et-vient de souris sont appliqués à la fenêtre active.
Si vous activez cette stratégie, les fenêtres de l’application ne seront pas réduites ou restaurées si des mouvements de va-et-vient de souris sont appliqués à la fenêtre active.
Si vous désactivez ou ne configurez pas ce paramètre, ces mouvements réduisent ou restaurent les fenêtres de l’application.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer- Value name
NoWindowMinimizingShortcuts
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: Desktop/NoWindowMinimizingShortcuts
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoWindowMinimizingShortcuts' -Value 1 -Type DWordDisable
# Disable: Desktop/NoWindowMinimizingShortcuts
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoWindowMinimizingShortcuts' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Desktop/NoWindowMinimizingShortcuts
$k = 'HKCU:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'NoWindowMinimizingShortcuts' -ErrorAction SilentlyContinue