HP Integrity rx2800 rx2800 i2 User Service Guide - Page 68

Shutting down Windows from the command line

Page 68 highlights

/s Shuts down and halts (power off) the server. This is the equivalent of Start ->Shut Down, Shut down. To power on the server, use the iLO MP PC command. /r Shuts down and restarts the server. This is the equivalent of Start ->Shut Down, Restart. /a Aborts a server shutdown. /t xxx Sets the timeout period before shutdown to xxx seconds. The timeout period ranges from 0-600, with a default of 30. Refer to the help shutdown Windows command for details. Shutting down Windows from the command line From the Windows command line, issue the shutdown command to shut down the operating system. 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 Special Administration Console interface to start a command prompt, from which you can issue Windows commands to shut down the server. 2. Check to see whether any users are logged in. Use the query user or query session command. 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 system 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. 68 Installing, booting and shutting down the operating system

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151

/s
Shuts down and halts (power off) the server. This is the equivalent of
Start
–>
Shut
Down
,
Shut down
. To power on the server, use the iLO MP PC command.
/r
Shuts down and restarts the server. This is the equivalent of
Start
–>
Shut Down
,
Restart
.
/a
Aborts a server shutdown.
/t xxx
Sets the timeout period before shutdown to xxx seconds. The timeout period ranges
from 0–600, with a default of 30.
Refer to the
help shutdown
Windows command for details.
Shutting down Windows from the command line
From the Windows command line, issue the
shutdown
command to shut down the operating
system.
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 Special Administration Console
interface to start a command prompt, from which you can issue Windows commands to shut
down the server.
2.
Check to see whether any users are logged in.
Use the
query user
or
query session
command.
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 system 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.
68
Installing, booting and shutting down the operating system