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 Services.msc  - Windows Quick Tip: How To Find Dependent Services
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.

DHCP Client Properties Local Computer 2013 10 13 09 29 11 - Windows Quick Tip: How To Find Dependent Services
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 600x341 - Windows Quick Tip: How To Find Dependent Services
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

PowerShell Get Service DependentServices - Windows Quick Tip: How To Find Dependent Services
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

LEAVE A REPLY

Please enter your comment!
Please enter your name here