How do I create a service dependency on another?

How do I create a service dependency on another?

You can add service dependencies by adding the “DependOnService” value to the service in the registry using the regedit command, services can be found under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ .

What is a service dependency?

Service dependencies are an advanced feature of Shinken that allow you to suppress notifications and active checks of services based on the status of one or more other services. Service dependencies are optional and are mainly targeted at advanced users who have complicated monitoring setups.

How do I remove a Windows service dependency?

Solution: Stop the services and edit the registry Under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services, find the dependent service for which you would like to remove the dependency. Once you have found the service, right-click the string value DependOnService and choose Modify.

How are service dependencies determined?

To check the list of dependencies of a service, follow the steps below:

  1. Open Windows Services and go to the services list, and select one of the services.
  2. Right-click and select Properties.
  3. This will open another window which has details about that service. Switch to Dependencies tab.
  4. Here you can see two things.

What is a Windows service dependency?

When a Windows service needs another service, for it to function it, is called that it has a dependency. In other words, some services rely on others, and that is why you should be extra-careful when you intend to disable, delay or change the way a Windows service starts.

How do Windows service dependencies work?

In many instances, Windows services require other system components to run, before they can start operating. These components are known as dependencies and if they fail to start themselves, then the services that require them also fail to start.

Where would you find a list of dependencies that might exist between services?

To see the list of dependencies of a service, you must first open its Properties window. You can do it by double-clicking (or double-tapping) on its name in the Services window, or by right-clicking (tap and hold) on it and then choosing Properties.

How long is a delayed service start?

One of the side effects of Automatic (Delayed Start) services is that they do start later in the boot cycle. The default delay is 120 seconds (2 minutes). On fast hardware, this might just be too long to wait.