Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reboot 1

Status
Not open for further replies.

dutch62

Programmer
Dec 31, 2001
58
NL
Hi all,

Does anyone know how to make NT reboot automatically, say, every week? I've heard of utilities who can make this happen. Or is it something I can do with a schedule?

tia, Dutch
 
I searched for nt+reboot+automatically+schedule in google.com and came back with a few responses. It seems that there is utility software that can schedule, shut downs, restarts and reboots. A link from the search...
It's a $25.00 US dollar program, I have no experience with it, but if there is one company that makes it, there are going to be others. I hope this helps, take care


Rokerij
Hollands Hope
 
Just create a batch script and have the NT "at" command take care of it for you.
 
The NT4 Resource Kit has a free utility called Shutdown.exe
that is designed for what you want to do. It can shutdown and restart either a remote host or a local machine.

To shut down and restart your local machine, the correct command is: Shutdown /C/R/Y

/C = Close all currently running applications.
/R = Reboot after shutdown
/Y = reply YES to all prompts.

The order used for the switches is not important. I find CRY easy to remember, because that's what I might do if it didn't work ;-)

As previously mentioned, you can use the AT command to schedule this command in a batch file, however Internet Explorer provides a nice GUI based task scheduler which is easier to use than the AT command. Double click on "My Computer" and look for the Task Scheduler near the bottom of the left hand navigator pane. If you don't see it, you will have to do a custom reinstall of IE and select the component.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top