đź“„ JScript (WSH)

Disable Explorer Startup Delay (JScript)

Removes the artificial delay before startup apps launch. Applies the tweak via WScript.Shell.RegWrite (JScript syntax).

By WindowsScripting.com · 635 B
SetDisableStartupDelay.js
// ============================================================
// SetDisableStartupDelay.js
//
// Disable Explorer Startup Delay.
// Removes the artificial delay before startup apps launch.
//
// Usage: cscript SetDisableStartupDelay.js
// ============================================================

var objShell = WScript.CreateObject("WScript.Shell");

try {
    objShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Serialize\\StartupDelayInMSec", 0, "REG_DWORD");
    WScript.Echo("Disable Explorer Startup Delay applied.");
} catch (e) {
    WScript.Echo("Failed to apply tweak: " + e.description);
}