📊 VBA (Excel)
Apply Disable Explorer Startup Delay (VBA)
Removes the artificial delay before startup apps launch. Applied via WScript.Shell.RegWrite from VBA.
DisableStartupDelayRegSet.bas
Attribute VB_Name = "DisableStartupDelayRegSet"
Option Explicit
Public Sub DisableStartupDelayRegSet()
Dim wsh As Object
Dim regPath As String
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize\StartupDelayInMSec"
wsh.RegWrite regPath, 0, "REG_DWORD"
MsgBox "Disable Explorer Startup Delay applied." & vbCrLf & regPath, vbInformation
End Sub