Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get a list of service installed ( in short name format)

Status
Not open for further replies.

davidlfliang

Programmer
Oct 3, 2002
19
AU
What is the best way to get a list(short name) of all services currently installed in Windows 4.0 server?

I tried to NET START command, it does give me a list of the services. But, they are all in full name, e.g 'Microsoft Exchange Internet Mail Service' for exchange service.

I will need to use NET STOP command and NET START command to manually turn on and off some of services by batch file. It seems NET STOP and NET START do not accept the full name of the service as command line. e.g.
NET STOP Microsoft Exchange Internet Mail Service
this won't work.

Any idea?

Thanks in advance
David

 
Have you tried putting long service names in quotes - eg
net stop "Task Scheduler"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top