How To: Delay Startup Services

| | No TrackBacks
It can be necessary to delay a particular service start, in order that other processes such as protocols initialization be run first. It can especially be useful when using out-of-date or otherwise slow peripheral hardware. For example, DNS or other network service should only be started when its network adapter(s) has been initialized.

To handle that, a service dependency can be used.

To create a new dependency, start regedit or other registry editor and navigate to
HKLM/System/CurrentControlSet/Services

Select the subkey referring to the service you wish to create dependency for and create a new value:
Name: DependOnService
Type: REG_MULTI_SZ

When offered to enter value, enter name of service(s) to start before this service, new line separated. The name of the service should be exactly as it appears under the services key.

No TrackBacks

TrackBack URL: /blog/mt-tb.cgi/75

blog comments powered by Disqus

About this Entry

This page contains a single entry by Konstantin Boyandin published on January 21, 2010 11:31 AM.

How To: Disable Run-As Command was the previous entry in this blog.

How To: Secure USB Ports is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.