I want to keep the shutdown/restart option on my desktop. Which application file is used to run the shutdown/restart
command in Windows 2000 server? 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).
When you do a Shutdown from the Start menu in Windows, this invokes a system call rather than an actual command; the command-line commands described here invoke the same calls.
Dig deeper on Server Hardware for Windows
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.