Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

what is be best way to configure scheduled server win2003 restart?

Posted on 2008-06-24
3
Medium Priority
?
188 Views
Last Modified: 2010-04-18
what is the best way to configure scheduled  SQL server full server restart win2003 box
0
Comment
Question by:leop1212
3 Comments
 
LVL 4

Accepted Solution

by:
fileinster earned 600 total points
ID: 21861773
The way I personally do it is to set a scheduled task with the runline "shutdown -r -t 0 -f". Simple as....
0
 

Author Comment

by:leop1212
ID: 21862201
what is the syntax for restart? I am not looking for a shutdown.
0
 
LVL 32

Assisted Solution

by:r-k
r-k earned 400 total points
ID: 21862253
The "-r" on the command line means "restart after shutdown"

You can see all the options by typing "shutdown /?" at a command prompt.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
I originally wrote this article to compare SARDU and YUMI, but have now added Easy2Boot, since that is the one I currently use and find the easiest to create and alter.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

782 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