PDA

Click to See Complete Forum and Search --> : start/stop windows service from batch


tompod
Mar 19th, 2004, 01:55 AM
Hi

Does anybody know how to start or stop windows service from batch programm in WIN XP.

Thank's
Tomaz

Lightning
Mar 19th, 2004, 02:07 AM
net start "Name Of Service"
net stop "Name Of Service"

Put one of both line in a batch-file and the service will start/stop

cid
Mar 19th, 2004, 03:26 AM
or try....Taskkill

It works remotely as well...It is funny shutting down someones explorer over a network.:D