🐍 Python 3.10+
Disable Explorer Startup Delay (Python)
Removes the artificial delay before startup apps launch. Applies the tweak via the stdlib winreg module.
set_disable_startup_delay.py
#!/usr/bin/env python3
"""
set_disable_startup_delay.py
Disable Explorer Startup Delay.
Removes the artificial delay before startup apps launch.
Usage:
python set_disable_startup_delay.py
"""
import winreg
def main() -> None:
key = winreg.CreateKeyEx(
winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize", 0, winreg.KEY_SET_VALUE
)
winreg.SetValueEx(key, "StartupDelayInMSec", 0, winreg.REG_DWORD, 0)
winreg.CloseKey(key)
print("Disable Explorer Startup Delay applied.")
if __name__ == "__main__":
main()