Solved

Auto Restarting a service in Server 2008

Posted on 2011-03-10
2
430 Views
Last Modified: 2012-06-22
How can I schedule a service to be restarted daily?
I am running Server 2008 OS.
0
Comment
Question by:PatLevy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35100575
Create a scheduled task that runs NET STOP "SERVICE NAME" and then NET START "SERVICE NAME"
0
 
LVL 1

Accepted Solution

by:
janvanderwijk earned 250 total points
ID: 35100589
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

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question