• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 438
  • Last Modified:

Auto Restarting a service in Server 2008

How can I schedule a service to be restarted daily?
I am running Server 2008 OS.
1 Solution
Glen KnightCommented:
Create a scheduled task that runs NET STOP "SERVICE NAME" and then NET START "SERVICE NAME"
In short:
create a batchfile with the following:
net stop <servicename>
net start <servicename>
Select in the Server Manager: Configuration, Task Scheduler, and Select: "Create Basic Task".
Then you are able to set the time to run the batchfile, created earlier.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now