SC QUERY

Displays the list of services configured on the computer.

sc [\\ServerName] query ServiceName
[type= {driver | service | all}]
[type= {own | share | interact | kernel | filesys
 | rec | adapt}]
[state= {active | inactive | all}]
[bufsize= BufferSize] [ri= ResumeIndex]
[group= GroupName]

Get Active Directory® Administrator's Pocket Consultant now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.