📜 VBScript (WSH)

Check "Disable Explorer Startup Delay" Status (VBScript)

Reads the registry value behind the "Disable Explorer Startup Delay" tweak to confirm whether it's applied.

By WindowsScripting.com · 729 B
CheckDisableStartupDelayStatus.vbs
' ============================================================
' CheckDisableStartupDelayStatus.vbs
'
' Checks whether "Disable Explorer Startup Delay" is currently applied.
'
' Usage: cscript CheckDisableStartupDelayStatus.vbs
' ============================================================

Option Explicit

Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize\StartupDelayInMSec")

If Err.Number <> 0 Then
    WScript.Echo "'StartupDelayInMSec' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'StartupDelayInMSec': " & currentValue
End If
On Error Goto 0