A Quick Tip To Create a Dependable Service

by [Published on 2 Dec. 2010 / Last Updated on 31 Oct. 2009]

This article explains how you can create a service dependable on another service.

Let's say you have a third party service which depends on the service "Alerter". This dependency is required for your application to work correctly. You can use the steps outlined below to do so:

Steps:

  • Go to Registry Editor and then navigate to the following location:
  • HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Alerter
  • In Right Pane, create a Multi_SZ entry. Right Click > Select "New" > then select "Multi-String Value".
  • Entry name must be "DependOnService". Edit the "DependOnService" and put the short name of the Third Party Service. Click Ok.
  • Exit the Registry Editor and then restart the Alerter Service.

 

 

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Featured Links