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!

Stop/start a service via command line

Status
Not open for further replies.

intentia

Technical User
Oct 15, 2001
6
GB
I want to be able to stop and restart a service using commands in a batch file
can anyone give me the content and syntax of the command line.
 
To add, you use NET START and NET STOP then put the name of the service after in speech marks:

Eg: NET STOP "Computer Browser" -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Thanks to you all I have used it before but years ago and had forgotten.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top