Solved

Auto Restarting a service in Server 2008

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
OfficeMate Freezes on login or does not load after login credentials are input.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

730 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