Scheduling an NT Service to Restart

  • Thread starter Thread starter Tammy
  • Start date Start date
T

Tammy

Does anyone know of a way to schedule an NT Service to
Restart on a periodic basis?

It appears the only way to restart a service is by
rebooting, or by going into services, and
selecting 'Restart'.
 
Does anyone know of a way to schedule an NT Service to
Restart on a periodic basis?

REM ===Restart_Service.cmd====
NET STOP "<Service Name>"
NET START "<Service Name>"
REM ===EOF====

Use "Scheduled Tasks" to run this.

Ciao, Walter
 
Back
Top