HP Integrity Server rx4640 manual Windows Shutdown from the Command Line

Models: Integrity Server rx4640

1 197
Download 197 pages 32.12 Kb
Page 156
Image 156

Booting the Operating System

Booting and Shutting Down Microsoft Windows

Windows Shutdown from the Command Line

From the Windows command line, issue the shutdown command to shut down the operating system.

Step 1. Log in to Windows running on the server that you want to shut down.

For example, access the system console and use the Windows SAC interface to start a command prompt, from which you can issue Windows commands to shut down the server.

Step 2. Check to see whether any users are logged in.

Use the query user or query session command.

Step 3. Issue the shutdown command and the appropriate options to shut down the Windows Server 2003 on the server.

You have the following options when shutting down Windows:

To shut down Windows and reboot: shutdown /r

or choose the Start —> Shut Down action and choose Restart from the pull-down menu.

To shut down Windows and halt (power off server hardware): shutdown /s

or choose the Start —> Shut Down action and choose Shut down from the pull-down menu.

To reboot a halted server you must power on the server using the PC command at the iLO MP Command menu.

To abort a shutdown (stop a shutdown that has been initiated): shutdown /a

For example:

shutdown /r /t 60 /c "Shut down in one minute."

This command initiates a Windows server shutdown and reboot after a timeout period of 60 seconds. The /c option specifies a message that is broadcast to any other users of the server.

156

Appendix B

Page 156
Image 156
HP Integrity Server rx4640 manual Windows Shutdown from the Command Line