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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top