⚡ PowerShell 5.1+

Check "Disable Window Animations" Status

Reads the current registry value behind the "Disable Window Animations" tweak so you can confirm whether it's applied.

By WindowsScripting.com · 725 B
Test-DisableAnimationsStatus.ps1
<#
.SYNOPSIS
    Checks whether "Disable Window Animations" is currently applied.

.DESCRIPTION
    Reads HKCU:\Control Panel\Desktop\WindowMetrics \ MinAnimate and reports its current value,
    or reports that it isn't set (falling back to the Windows default).

.EXAMPLE
    .\Test-DisableAnimationsStatus.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKCU:\Control Panel\Desktop\WindowMetrics'

$value = Get-ItemProperty -Path $regPath -Name 'MinAnimate' -ErrorAction SilentlyContinue

if ($null -eq $value) {
    Write-Host "'MinAnimate' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
    Write-Host "Current value of 'MinAnimate': $($value.'MinAnimate')" -ForegroundColor Green
}