Alex Rivera | Logout

Finding out Windows service's running process name .NET 1.1

Asked 2009-02-19T14:53:31.850
10

We are using a badly written windows service, which will hang when we are trying to Stop it from code. So we need to find which process is related to that service and kill it. Any suggestions?

Edit
Report

1 Answer

4

You can use

tasklist /svc /fi "SERVICES eq YourServiceName"

To find the process name and id, and also if the same process hosts other services.

answered 2009-02-19T15:06:40.210

Your Answer