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
"...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
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.
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.
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