Windows Server 2016 Administration Fundamentals
上QQ阅读APP看书,第一时间看更新

Adding a service dependency

To add a service dependency, complete the following steps:

  1. 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.
  2. On the right-hand side of it, modify the value if there is a DependOnService value.
  3. If not, then right-click in empty space, and select Multi-string value to create a DependOnService value.
  4. Rename the DependOnService value with the exact name of the service that you want to create a dependency for.
  1. Restart the server.
  2. With Services open, locate the service that you have created a dependency for and right-click it to select Properties.
  3. In the Properties window, click the Dependencies tab to see the added dependency.