⚡ PowerShell 5.1+

Check "Disable Explorer Startup Delay" Status

Reads the current registry value behind the "Disable Explorer Startup Delay" tweak so you can confirm whether it's applied.

By WindowsScripting.com · 822 B
Test-DisableStartupDelayStatus.ps1
<#
.SYNOPSIS
    Checks whether "Disable Explorer Startup Delay" is currently applied.

.DESCRIPTION
    Reads HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize \ StartupDelayInMSec and reports its current value,
    or reports that it isn't set (falling back to the Windows default).

.EXAMPLE
    .\Test-DisableStartupDelayStatus.ps1
#>

[CmdletBinding()]
param()

$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize'

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

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