Browse DevX
Sign up for e-mail newsletters from DevX

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



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Rebooting with NT's Schedule Services

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.

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
Thanks for your registration, follow us on our social networks to keep up-to-date