devxlogo

Rebooting with NT’s Schedule Services

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 dothe “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 forremote shutdown, if you don’t use a remote computer name, it will act on the localcomputer instead.

Remote shutdown is a tool that allows you to remotely shut down or reboot a computerrunning Windows 2000 or Windows NT 4. ShutDown provides system shutdown andrestart 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.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist