Solved How do i reduce wait time for delayed start services

Jaybob66

New member
Local time
11:54 AM
Messages
3
I have a windows service that talks to a usb device, (i wrote it) all was well until i installed a SSD drive, now the PC boots before the device is ready to talk :(

I set Automatic(Delayed) and that fixed my problem, but i have to wait 2 minutes for the service to start. Thats far too long when the machine boots so quick. I need something more like 5-10 seconds.


I tried AutoStartDelay registry value in KLM\SYSTEM\CurrentControlSet\Control\AutoStartDelay, but no matter what value i use, my service doesn't start for 120 seconds. setting a value of 180 has no effect, setting a value of 10 has no effect. 120 is what it always gives me. i've tried a DWORD and a String value.

im considering changing the startup to manual and adding a batch file to the Start folder to start the service from there.

Any advice about the delayed start times would be appreciated

cheers
Jaybob
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional SP1 x64
"...I tried AutoStartDelay registry value in KLM\SYSTEM\CurrentControlSet\Control\AutoStartDelay..."
I'm trying to learn alongside you. is this key universal, or, does each delayed service has this key?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Antec desktop; Acer Aspire laptops
OS
Windows 7 Professional 64-bit
CPU
Desktop i5; Acers i5 & i7
Memory
desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Hard Drives
1TB split into 2 equal partitions [OS and data] usable by RJS
Internet Speed
AT&T DSL
Browser
FF, GChrome, msIE
Other Info
Windows 7 Firewall, Emsisoft AM/AV, MSE [scan-only], SpywareBlaster, Ruiware/BillP combine
Did you look at Task Scheduler? %windir%\system32\taskschd.msc /s
 

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    custom build
    OS
    Windows 7 HP 64
    CPU
    i5 6600K - 800MHz to 4200MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Windows 7 and Lubuntu
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500Mb/s
    Browser
    Firefox 64
    Other Info
    TinyWall firewall
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Asus Q550LF
    OS
    Windows 7 Pro
    CPU
    i7-4500U 800MHz to 3.0GHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics Card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs +
    1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox
    Other Info
    TinyWall firewall
Yes, I added an entry to task scheduler which worked fine. Just a shame the minimum time is 30 seconds, but its much better than 120 seconds that Delayed services use.

thanks
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional SP1 x64
RolandJS

Its for all services, beneath that registry key is a key for each service where specific ones can be set individually.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Professional SP1 x64
Yes, I added an entry to task scheduler which worked fine. Just a shame the minimum time is 30 seconds, but its much better than 120 seconds that Delayed services use.

thanks

Have you tried manually entering a delay time in the task scheduler rather than just using the pull down menu? For example, select 30 seconds from the menu and then edit the 30 to 10 or just type in 10 seconds.
I have never had an issue with doing that.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1,
CPU
INTEL i9-7920X LGA 2066
Motherboard
Gigabyte X299-WU8 F3
Memory
64 GB (4 X 16 GB) G-Skill V Series DDR4 3200 Quad Channel
Graphics Card(s)
EVGA GTX 1060 SC 3 GB
Sound Card
Realtek Onboard ALC1220
Monitor(s) Displays
2 x Samsung S27E310
Screen Resolution
1920x1080
Hard Drives
Samsung 2 x 970 EVO Plus 500 GB NVMe
1 x 6TB WD 6003FZBX SATA
1 x 6TB WD 60EFRX SATA
12 x 3TB WD 30EFRX SATA
PSU
Seasonic X-1050
Case
Thermaltake Armor+
Cooling
Corsair H80i V2 Liquid AOI Cooler
Keyboard
Logitech G510s
Mouse
Logitech MX Master 2S
Internet Speed
200 Mb/s
Antivirus
ESET NOD32 13.1
Browser
EDGE (Dev, Canary, Beta), Chrome
Other Info
ASUS RT-AC68U router
Malwarebytes 4.0.4
Back
Top