Solved

Auto Restarting a service in Server 2008

Posted on 2011-03-10
2
425 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
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

I was asked if I could set up a fax machine so that incoming faxes were delivered to people's Exchange inboxes and so that they could send faxes from their desktops without needing to print the document first.  I knew it was possible but I had no id…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now