Managing Window service remotely

Published by

Posted on November 09, 2014

View all running services
net start

View processes
tasklist or from powershell get-process

Check and see which services are running under svchost.exe
tasklist /svc /fi “imagename eq svchost.exe”

Check for inactive services
sc query type= service state= inactive

check all services
sc query type= service state= all
http://technet.microsoft.com/en-us/library/dd228922.aspx

start and stop a service
sc start ‘servicename’
sc stop ‘servicename’
sc query ‘servicename’