Monday, October 12, 2009

Delay Windows Service Start

[English]

If you need to delay a service's startup, you can manually add a dependency to the service. The service need not actually be dependent on the specified second service - the dependency simply causes the service to wait until the other has started, effectively delaying startup.

To configure service dependency, open the Registry Editor (regedit) and open the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\(Service name)

where (Service name) is the service you want to delay. Add a REG_MULTI_SZ value named DependOnService to the key, then edit the value of DependOnService to add the service name of the service you want started before the selected service.

No comments: