Discussion Locked

Stop process from command prompt

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to stop a process from the command prompt. How can I do this?

The problem is that an I-PAQ blocks the com1: port even after it is disconnected. I want to make a batch file to stop the task for our sales guys.

1 reply

by bfilmfan

Use net stop "" ,e.g. net stop "spooler". Some services will ask you to enter a y to confirm, and for these just add /y to the end.

Or you can also use the Resource Kit SC.EXE command, use:

"sc query" to get a list of the services, and then "sc stop " to stop the service.

This discussion is closed to new replies.