上QQ阅读APP看书,第一时间看更新
Adding a service dependency
To add a service dependency, complete the following steps:
- On the left-hand side of the Registry Editor, locate the service (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\) that you want to add a dependency too.
- 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 Services open, locate the service that you have created a dependency for and right-click it to select Properties.
- In the Properties window, click the Dependencies tab to see the added dependency.