Starting/Stopping services via NET (how to find names for services?)

Starting/Stopping services via NET (how to find names for services?)

Post by Duke » Sat, 12 Aug 2006 03:06:42


Quick question guys, regarding the NET command for starting/stopping
services via command line.

Certain services I can't find the name to use for in the command
prompt.

How would I find what the service name is to type in the command
prompt, or is there a command that lists all service names for services
on the PC?

NET help services only lists a few predetermined one, is there one that
lists much more? Thanks.
 
 
 

Starting/Stopping services via NET (how to find names for services?)

Post by Wesley Vog » Sat, 12 Aug 2006 03:21:09

There are sveral ways to do this. Here are three that I know of.

Open Services...
Start | Run | Type: services.msc | Click OK |
Scroll down to and double click the service you want to stop |
On the General tab, Service name: take note of the Service Name not the
Display Name | Close Services

Look in...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

The command:

sc query state= all

will display the SERVICE_NAME and DISPLAY_NAME of all services & drivers.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User


DukeN < XXXX@XXXXX.COM > hunted and pecked:

 
 
 

Starting/Stopping services via NET (how to find names for services?)

Post by John Wunde » Sat, 12 Aug 2006 04:28:11

"DukeN" < XXXX@XXXXX.COM > wrote in



The freeware command-line program "psservice.exe", part of the
"PsTools" package from Sysinternals, will list and control services
from the command line on other machines over the network as well as on
the current machine.

< http://www.yqcomputer.com/ ;

HTH,
John
 
 
 

Starting/Stopping services via NET (how to find names for services?)

Post by Duke » Sat, 12 Aug 2006 05:56:08

Thanks guys!

PS: Are there other winternals/sysinternals free tools I should be
aware of (that I can download free of cost)?

Thanks.
 
 
 

Starting/Stopping services via NET (how to find names for services?)

Post by Wesley Vog » Sat, 12 Aug 2006 06:13:46

As far as I know they are all free. Now. Better hurry, Microsoft bought
Winternals and Sysinternals and Mark and Bryce now work for Microsoft.

http://www.yqcomputer.com/

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User


DukeN < XXXX@XXXXX.COM > hunted and pecked: