A. The Microsoft Windows 2000 Resource Kit and Microsoft Windows NT Resource Kit supply a shutdown.exe utility that you can use to shut down or reboot the local or a remote machine. This utility also lets you configure how to handle hung applications.

For example, the command:

C:\> shutdown \\morpheus /r /t:15 "bye bye"

would reboot (/r) the machine morpheus in 15 seconds (/t:15) with the helpful message “bye bye.”

Win2K includes the Microsoft Management Console (MMC) Computer Management snap-in that you typically use to manage services and local users, but you can also use the snap-in to shutdown or reboot by completing the following steps:

  1. From the Start menu, select Programs, Administrative Tools, then Computer Management to start the Computer Management snap-in.
  2. Right-click the root of the tree (Computer Management), and select Properties from the context menu.
  3. Select the Advanced tab.
  4. Click the Startup and Recovery button.
  5. Click the Shut Down button. (Don't worry. You won’t shut anything down at this point.)
  6. From the dialog box, you can select to shut down, reboot, log off, or power down (if supported). You can also choose how to handle hung applications.
    Click here to view image
  7. Make your selections, and click OK.

If you select Log off Current User from a terminal services session, the application logs off the user at the console, not your session, so choose this option with care.

You can use the Computer Management snap-in to attach to other computers. After you connect to the computers, you can perform the same steps as above to reboot or shutdown.

To connect to a remote machine, perform the following steps:

  1. Start the Computer Management snap-in.
  2. Right-click the root, and select Connect to another computer .…
  3. Select the computer you wish to connect to, and click OK.

Select Properties, then the Advanced tab. Click the Startup and Recovery button, then the Shut Down button as before.