Auto Restarting a service in Server 2008

How can I schedule a service to be restarted daily?
I am running Server 2008 OS.
PatLevyAsked:
Who is Participating?
 
janvanderwijkConnect With a Mentor Commented:
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.
0
 
Glen KnightCommented:
Create a scheduled task that runs NET STOP "SERVICE NAME" and then NET START "SERVICE NAME"
0
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.

All Courses

From novice to tech pro — start learning today.