Home / Windows Commands / How to List Services Running using the Command PromptHow to List Services Running using the Command Prompt 52307 views Less than a minute To list all the services which are currently running on a windows machine using the command prompt you can use the net start command. Step 1Open a command promptStep 2Type in the following:net startClick to rate this post![Total: 30 Average: 3.5]
You can also use: sc queryex type= service state= allstate= all: Returns a list of all services state= inactive: Returns a list of stopped servicesTo get a start of all running services only, do not include the ‘state’ field. sc queryex type= serviceArticle on Technet: https://technet.microsoft.com/en-us/library/dd228921(v=ws.11).aspxPReply
You can also use:
sc queryex type= service state= all
state= all: Returns a list of all services
state= inactive: Returns a list of stopped services
To get a start of all running services only, do not include the ‘state’ field.
sc queryex type= service
Article on Technet:
https://technet.microsoft.com/en-us/library/dd228921(v=ws.11).aspx
P
Thanks Puneet. Much appreciated.
Thanks Puneet