How to list all INSTALLED but NOT RUNNING services from command line (similar to "net ....") ?

  • Thread starter Thread starter Eugen Austermann
  • Start date Start date
E

Eugen Austermann

When I type at the command prompt

net start

then I get all services which are currently running.

How can I list from the command line all services which are currently installed but NOT running ?

Eugen
 
List Inactive Services:
http://www.microsoft.com/technet/scriptcenter/scripts/os/services/ossvvb06.mspx
name the script ???.vbs, and from the dos prompt run the command CScript
???.vbs

--
Mark L. Ferguson
e-mail subject line must include "QZ" or it's deleted
..
"Eugen Austermann" <aussie@hotmail.com> wrote in message
news:47602f7d$0$16574$9b4e6d93@newsspool1.arcor-online.net...
> When I type at the command prompt
>
> net start
>
> then I get all services which are currently running.
>
> How can I list from the command line all services which are currently
> installed but NOT running ?
>
> Eugen
>
 
there is a freeware called
siw that will print the
ntservices on your system.

it is much easier
to use the above than
remembering commands
and tricky command line
switches.

as a tip and something to
be mindful of:

the software will always
generate your data whenever
you need it. therefore as an
added plus i wouldn't store
hardcopies of your system
information on your disk.

in addition, it will allow
you to delete stopped services -
just remember to reboot
after your done.

--

db ·´¯`·.¸. , . .·´¯`·..><)))º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><)))º>¸.
><)))º>·´¯`·.¸. , . .·´¯`·.. ><)))º>`·.¸¸.·´¯`·.¸.·´¯`·...¸><)))º>



..


"Eugen Austermann" <aussie@hotmail.com> wrote in message
news:47602f7d$0$16574$9b4e6d93@newsspool1.arcor-online.net...
> When I type at the command prompt
>
> net start
>
> then I get all services which are currently running.
>
> How can I list from the command line all services which are currently
> installed but NOT running ?
>
> Eugen
>
 
Use all "programs>administrative tools>services" which shows more detail
than what you see with net start. The "export list" creates an Excel file.
In Excel sort by the "Status" column.

Frank

"Eugen Austermann" <aussie@hotmail.com> wrote in message
news:47602f7d$0$16574$9b4e6d93@newsspool1.arcor-online.net...
> When I type at the command prompt
>
> net start
>
> then I get all services which are currently running.
>
> How can I list from the command line all services which are currently
> installed but NOT running ?
>
> Eugen
>
 
"Eugen Austermann" wrote in message
news:47602f7d$0$16574$9b4e6d93@newsspool1.arcor-online.net...
> When I type at the command prompt
>
> net start
>
> then I get all services which are currently running.
>
> How can I list from the command line all services which are
> currently installed but NOT running ?



sc query type= service state= inactive

Yes, the space after the equals sign is required. Run 'sc /?' to get
help on the service controller command. In fact, you can use 'sc
start' instead of 'net start'; however, with 'sc' you can specify
either the display_name, as with 'net', or the service_name.
 
RE: How to list all INSTALLED but NOT RUNNING services from command li

Hi,

Try

sc query state= inactive |find /I "SERVICE_NAME"

If you omit the '|find /I "SERVICE_NAME"', you can see details on each
services.

se2946

"Eugen Austermann" wrote:

> When I type at the command prompt
>
> net start
>
> then I get all services which are currently running.
>
> How can I list from the command line all services which are currently installed but NOT running ?
>
> Eugen
>
>
 
Back
Top