Q

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?
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. http://support.microsoft.com/?kbid=317371 describes how to use the tool in complete detail. http://support.microsoft.com/?kbid=320188 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

Dig Deeper

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close