To add a service dependency using Registry Editor, take the following steps:
- Click the search box in the taskbar and enter regedit and then press Enter.
- On the left-hand side of Registry Editor, locate the service (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\) that you want to add a dependency to.
- On the right-hand side of it, modify the value if there is a DependOnService value.
- If not, then right-click in empty space, and select Multi-string value to create a DependOnService value.
- Rename the DependOnService value with the exact name of the service that you want to create a dependency for.
- Restart the server.
- With the Services window open, locate the service that you have created a dependency for and ...