Starting and stopping
On the command line (cmd.exe)
A Windows service can be started and stopped on the command line (if it is not disabled):
Opening the services panel
Type services.msc in the Start-->run box.
Listing services
There are at least three ways to determine what services are: the registry,sc and services.msc. available.
Using the registry
The installed services can be found in the registry under
\\HKEY_LOCAL_MACHNINE\SYSTEM\CurrentControlSet\Services
Using sc
It's also possible to list the services with the command line utility
sc
:C:\> sc query state= all | findstr SERVICE_NAME
Note: the space after
state=
is important. If omitted, sc tries to find a service named state=all
which will, most probably, not exist.
If the
state= all
is omitted altogether, only running services will be returned.services.msc
Typing
services.msc
into Run->Start, or into a cmd console, opens the Service panel which displays all installed services on the system.Deleting a service
A service can either be deleted by removing all entries belonging to a service from the registry (see above). Or by using
sc
:C:\> sc delete service-name
Thank For Web http://www.adp-gmbh.ch/win/misc/services.html