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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stopping SilverServer from a command line in Windows 1

Status
Not open for further replies.

mingus

Programmer
May 8, 2001
59
0
0
US
Simple need:

From the command line I need to be able stop SilverServer in Windows.

Can't find any doc on this, but there has to be a way.
I hope.

mingus
 
Try a batch file with this text:

net stop silverappserverservice3.7
pause

You can also start the service by replacing the word "stop" with "start".

You can start and stop any service in Windows NT using the same syntax. The trick is to find the service name. To do this, open the registry editor and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

The folders under this key are names of services that you can start and stop. If you look close, you find the command line that the service is using, so you could presumably change it, along with the name that is displayed in the Services control panel applet. Also, you can adjust which services it depends on, but that gets harder.

Good luck.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top