Reputation: 51
Im trying to kill a windows service and then restart it using just a batch file.
I tried using the following code
TASKKILL /F /FI "USERNAME eq \SYSTEM" /IM NoDinero.exe
And was given this message:
"no tasks running w the specified criteria"
Upvotes: 0
Views: 676
Reputation: 28991
Stop a service: NET STOP "Service Name"
Start a service: NET START "Service Name"
Upvotes: 2