⚡ PowerShell 5.1+
Disable Window Animations
Disables minimize/maximize window animations for a snappier feel.
Set-DisableAnimations.ps1
<#
.SYNOPSIS
Disable Window Animations.
.DESCRIPTION
Disables minimize/maximize window animations for a snappier feel.
Sets HKCU:\Control Panel\Desktop\WindowMetrics \ MinAnimate to '0'.
.EXAMPLE
.\Set-DisableAnimations.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Control Panel\Desktop\WindowMetrics'
if (-not (Test-Path $regPath)) {
New-Item -Path $regPath -Force | Out-Null
}
New-ItemProperty -Path $regPath -Name 'MinAnimate' -Value '0' -PropertyType String -Force | Out-Null
Write-Host "Disable Window Animations applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green