How do i reduce wait time for delayed start services


  1. Posts : 3
    Windows 7 Professional SP1 x64
       #1

    How do i reduce wait time for delayed start services


    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


  2. Posts : 2,774
    Windows 7 Professional 64-bit
       #2

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


  3. Posts : 7,351
    Windows 7 HP 64
       #3

    Did you look at Task Scheduler? %windir%\system32\taskschd.msc /s
      My Computers


  4. Posts : 3
    Windows 7 Professional SP1 x64
    Thread Starter
       #4

    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


  5. Posts : 3
    Windows 7 Professional SP1 x64
    Thread Starter
       #5

    @RolandJS

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


  6. Posts : 1,872
    Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1,
       #6

    Jaybob66 said:
    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


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:39.
Find Us