⚡ PowerShell 5.1+
Check "Disable First Logon Animation" Status
Reads the current registry value behind the "Disable First Logon Animation" tweak so you can confirm whether it's applied.
Test-DisableFirstLogonAnimationStatus.ps1
<#
.SYNOPSIS
Checks whether "Disable First Logon Animation" is currently applied.
.DESCRIPTION
Reads HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System \ EnableFirstLogonAnimation and reports its current value,
or reports that it isn't set (falling back to the Windows default).
.EXAMPLE
.\Test-DisableFirstLogonAnimationStatus.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
$value = Get-ItemProperty -Path $regPath -Name 'EnableFirstLogonAnimation' -ErrorAction SilentlyContinue
if ($null -eq $value) {
Write-Host "'EnableFirstLogonAnimation' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
Write-Host "Current value of 'EnableFirstLogonAnimation': $($value.'EnableFirstLogonAnimation')" -ForegroundColor Green
}