Individual Service AutoStartDelay time not working

AdeB 6 Reputation points
2022-11-09T22:31:45.19+00:00

Hi,

I have an application service that is set to Automatic (Delayed Start) but the default wait time is 120seconds. I'd like to reduce this for my service only. I have seen here:
that registry key:
HKLM\SYSTEM\CurrentControlSet\Control\AutoStartDelay
can be used to modify the delay for all services set to Automatic (Delayed Start) and have tried this and it works.

However, setting it for my individual service using registry key:
HKLM\SYSTEM\CurrentControlSet\services\<service name>\AutoStartDelay
doesn't work - the service still starts with the global 120seconds delay.

Has anyone had success setting the delay on an individual service basis? Any tips are very much appreciated.

There is one service "Windows Search" which is also set to Automatic (Delayed Start), but this starts ahead of all the others - I haven't been able to see why though.

Running on Windows 10 Enterprise LTSC Version 1809.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,121 Reputation points
    2022-11-16T08:42:39.703+00:00

    Hi. Thank you for your question and reaching out.

    Use triggers to make sure the service starts at a specific time when the machine starts or after you log in. A script can be used to launch the service.

    You can even schedule the operation to start right away if your other service generates an event log when it completes.

    For more information, please see

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc748993(v=ws.11)?redirectedfrom=MSDN

    ------------------------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    0 comments No comments