How To Shutdown Windows 2012 Server
This browser is no longer supported.
Upgrade to Microsoft Border to take reward of the latest features, security updates, and technical back up.
Shutdown
Applies To: Windows Server 2003, Windows Vista, Windows Server 2008, Windows Server 2003 with SP2, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2000, Windows Server 2012, Windows Server 2003 with SP1, Windows 8
Enables you lot to shut downward or restart local or remote computers i at a time.
For examples of how to use this command, see Examples.
Syntax
shutdown [/i | /l | /s | /r | /a | /p | /h | /e] [/f] [/m \\<ComputerName>] [/t <Xxx>] [/d [p|u:]<XX>:<YY> [/c "annotate"]]
Parameters
Parameter | Description | ||
---|---|---|---|
/i | Displays the Remote Shutdown Dialog box. The /i option must be the commencement parameter following the command. If /i is specified, all other options are ignored. | ||
/l | Logs off the current user immediately, with no time-out catamenia. You cannot use /l with /m or /t. | ||
/s | Shuts down the computer. | ||
/r | Restarts the estimator after shutdown. | ||
/a | Aborts a system shutdown. Effective only during the timeout period. To employ /a, you must also apply the /1000 option. | ||
/p | Turns off the local reckoner only (not a remote reckoner)—with no fourth dimension-out period or warning. Y'all tin utilize /p only with /d or /f. If your computer does non back up power-off functionality, it volition shut down when yous use /p, but the power to the computer will remain on. | ||
/h | Puts the local reckoner into hibernation, if hibernation is enabled. Y'all can use /h only with /f. | ||
/due east | Enables y'all to document the reason for the unexpected shutdown on the target estimator. | ||
/f | Forces running applications to close without warning users.
| ||
/1000 \\<ComputerName> | Specifies the target computer. Cannot be used with the /l option. | ||
/t <XXX> | Sets the time-out menstruation or delay to Xxx seconds before a restart or shutdown. This causes a warning to display on the local panel. You can specify 0-600 seconds. If you do non utilize /t, the time-out period is 30 seconds past default. | ||
/d [p|u:]<XX>:<YY> | Lists the reason for the organisation restart or shutdown. The following are the parameter values: p Indicates that the restart or shutdown is planned. u Indicates that the reason is user divers. Note If p or u are not specified, the restart or shutdown is unplanned. XX Specifies the major reason number (positive integer less than 256). YY Specifies the minor reason number (positive integer less than 65536). | ||
/c "<Comment>" | Enables y'all to comment in particular about the reason for the shutdown. You lot must first provide a reason by using the /d option. Y'all must enclose comments in quotation marks. You lot can employ a maximum of 511 characters. | ||
/? | Displays assist at the command prompt, including a list of the major and minor reasons that are defined on your local reckoner. |
Remarks
-
Users must exist assigned the Shut downwards the system user correct to shut downwardly a local or remotely administered computer that is using the shutdown control.
-
Users must be members of the Administrators group to annotate an unexpected shutdown of a local or remotely administered computer. If the target reckoner is joined to a domain, members of the Domain Admins grouping might be able to perform this procedure. For more information, come across:
-
Default local groups
-
Default groups
-
-
If you want to shut downwardly more than ane computer at a time, you can phone call shutdown for each computer by using a script, or you can use shutdown/i to display the Remote Shutdown Dialog box.
-
If you lot specify major and minor reason codes, you must first define these reason codes on each estimator where y'all programme to use the reasons. If the reason codes are not divers on the target computer, Shutdown Result Tracker cannot log the correct reason text.
-
Recollect to indicate that a shutdown is planned by using the p: parameter. Omitting p: indicates that a shutdown is unplanned. If you type p: followed by the reason lawmaking for an unplanned shutdown, the control will not carry out the shutdown. Conversely, if you omit p: and type in the reason lawmaking for a planned shutdown, the control will not carry out the shutdown.
Examples
To strength applications to shut and restart the local computer after a one-infinitesimal delay with the reason "Application: Maintenance (Planned)" and the comment "Reconfiguring myapp.exe" blazon:
shutdown /r /t lx /c "Reconfiguring myapp.exe" /f /d p:iv:1
To restart the remote computer \\ServerName with the same parameters, type:
shutdown /r /thousand \\servername /t 60 /c "Reconfiguring myapp.exe" /f /d p:4:ane
Additional references
Command-Line Syntax Key
Source: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc732503%28v=ws.11%29
Posted by: kistlercaude1987.blogspot.com
0 Response to "How To Shutdown Windows 2012 Server"
Post a Comment