Restarting a service
Posted by Rob on 29 September, 2008
No comments yet
This item was filled under [ Server, Workstation ]
Below is an example how you can restart a service on one more many systems using Script Zombie as the controlling application:
@echo off
Echo.
Echo Remotely Restart a Service
Echo ————————–
sc \\%1 stop servicename
sc \\%1 start servicename
In this example we use SC.exe (Service Control) to first stop the service and then restart it. In this case %1 is [...]
