Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: NT
Expertise: Beginner
Oct 31, 2000

Rebooting with NT's Schedule Services

Question:
How can I schedule an automatic reboot?

I have the schedule service started and set up to start automatically, and I know how to do the "at" commands. What I don't know is the command to get it to reboot.

Answer:
Look at Shutdown.exe found in both the NT Resource Kit. While designed mainly for remote shutdown, if you don't use a remote computer name, it will act on the local computer instead.

Remote shutdown is a tool that allows you to remotely shut down or reboot a computer running Windows 2000 or Windows NT 4. ShutDown provides system shutdown and restart options from both the command-line and a GUI.

An example is:

shutdown /L /C /T:5
This will shut down the local computer, closing all of the applications in five seconds.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap