Discussion Locked

Restart a service from a batch file

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a problem with a certain program that will stop during printing invoices. If you restart the service it will continue to print, and be ok. I have exausted every effort for troubleshooting, and now i would like some info on how to write a batch file that this person can run from their local machine to restart this service on the server. 400 points to ther person that sends me a file that works

5 replies

by bkles

try

net stop spooler

net start spooler

example of stop / start PcAnywere host service

net stop "pcanywhere host service

OS feedback ....... service stopping / stopped

net start "pcanywhere host service

OS feedback....... service starting/ started

This discussion is closed to new replies.