Remove dependencies between two or more Windows services

This TechNote provides information on how to remove dependencies between two or more Windows services, if such dependencies were created during installation or at any other time. One of the most common examples is the dependency between the ColdFusion MX Application Service and the IIS Admin Service.

Dependency between two or more services means that the dependent service will be stopped and started at the same time the main service is stopped and started. This dependency can be inconvenient and can also cause problems at times. For example, if ColdFusion is dependent on another service, it prevents starting ColdFusion from the command line, which is required to troubleshoot some types of problems.

Solution: Stop the services and edit the registry

  1. Stop the services that you will be dealing with.
  2. To remove dependencies, changes to the registry are required. Therefore, as the first step, please back up your current registry.

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

  5. You now see a list of services that it is dependent on. Delete the service that you would like to remove the dependency from.

  6. Repeat steps 3–5 for HKEY_LOCAL_MACHINE\System\ControlSet001\Services and HKEY_LOCAL_MACHINE\System\ControlSet002\Services.

  7. Restart your computer.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy