Windows Quick Tip: How To Find Dependent Services

0

Some services, such as DHCP Client, requires other services to run in order to fulfill its own mission. To check how many services are dependent to a specific service, you normally

1. Go to Services console, by pressing Win+R, typing services.msc, and hitting Enter.

Win+R to launch Services console
Win+R to launch Services console

2. Double-click a service that you want to check the dependencies, and go to Dependencies tab, from which you will find the list of services that are dependent to and depend on this service.

Dependent services to DHCP Client service
Dependent services to DHCP Client service

Ok, now let’s see if there is an easier way. PowerShell actually has a cmdlet called Get-Service that gives a full list of services on your computer.

PowerShell - Get-Service
PowerShell – Get-Service

Adding up a parameter DependentServices with a specified service name, you can get a list of the dependent services fairly quickly. For example, the following command lists the dependent services to DHCP client service.

Get-Service -Name DHCP -DependentServices

Get dependent services to DHCP Client service
Get dependent services to DHCP Client service

Adding up -ComputerName parameter, you can launch the same to get the same info from a remote computer.

Get-Service -Name DHCP -DependentServices -ComputerName remotecomputer

SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here