Ask the Expert

How can I restart Windows from the command line?

How can I restart Windows from the command line other than the normal way using Start-Shutdown-Restart?

Requires Free Membership to View

There are a few utilities for doing command-line restart, some of which are available in the Windows 2000 Resource Kit and natively in Windows XP. In the 2K Resource Kit there is a command-line app called, appropriately enough, SHUTDOWN. describes how to use the tool in complete detail. also talks about another tool, TSSHUTDN, which was originally included for shutting down Terminal Servers but can be used to also reboot a Win2K machine as well. Note that each command comes with a plethora of switches and options, which can be used to change the behavior (i.e., reboot vs. shutdown).

This was first published in January 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: