Open in the explorer

Do not allow window animations

Ne pas autoriser les animations de fenêtres

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Desktop Window Manager FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Gestionnaire de fenêtres du Bureau
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
DWM.admx
Internal name
DWM/DwmDisallowAnimations_1

Explanation

This policy setting controls the appearance of window animations such as those found when restoring, minimizing, and maximizing windows.

If you enable this policy setting, window animations are turned off.

If you disable or do not configure this policy setting, window animations are turned on.

Changing this policy setting requires a logoff for it to be applied.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle l’utilisation des animations de fenêtres, telles que celles utilisées lors de la restauration, la réduction ou l’agrandissement de fenêtres.

Si vous activez ce paramètre de stratégie, les animations de fenêtres sont désactivées.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les animations de fenêtres sont activées.

Si vous modifiez ce paramètre de stratégie, vous devez fermer la session pour que les modifications soient prises en compte.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\DWM
Value name
DisallowAnimations
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: DWM/DwmDisallowAnimations_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\DWM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisallowAnimations' -Value 1 -Type DWord

Disable

# Disable: DWM/DwmDisallowAnimations_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\DWM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisallowAnimations' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": DWM/DwmDisallowAnimations_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\DWM'
Remove-ItemProperty -Path $k -Name 'DisallowAnimations' -ErrorAction SilentlyContinue

Availability