⚡ PowerShell 5.1+

Disable Explorer Startup Delay

Removes the artificial delay before startup apps launch.

By WindowsScripting.com · 724 B
Set-DisableStartupDelay.ps1
<#
.SYNOPSIS
    Disable Explorer Startup Delay.

.DESCRIPTION
    Removes the artificial delay before startup apps launch.

    Sets HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize \ StartupDelayInMSec to 0.

.EXAMPLE
    .\Set-DisableStartupDelay.ps1
#>

[CmdletBinding()]
param()

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

if (-not (Test-Path $regPath)) {
    New-Item -Path $regPath -Force | Out-Null
}

New-ItemProperty -Path $regPath -Name 'StartupDelayInMSec' -Value 0 -PropertyType DWord -Force | Out-Null

Write-Host "Disable Explorer Startup Delay applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green