Skip to content

Commit c3d1413

Browse files
Merge pull request #7823 from MicrosoftDocs/copilot/investigate-shutdown-parameter-issues
Clarify shutdown /a parameter documentation
2 parents 21a3aaa + f328f4e commit c3d1413

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

  • WindowsServerDocs/administration/windows-commands

WindowsServerDocs/administration/windows-commands/shutdown.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Enables you to shut down or restart local or remote computers, one at a time.
1414
## Syntax
1515

1616
```
17-
shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]
17+
shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/fw] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]
1818
```
1919

2020
### Parameters
@@ -27,11 +27,10 @@ shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/sof
2727
| /sg | Shuts down the computer. On the next boot, if **Automatic Restart Sign-On** is enabled, the device automatically signs in and locks based on the last interactive user. After sign in, it restarts any registered applications. |
2828
| /r | Restarts the computer after shutdown. |
2929
| /g | Fully shuts down and restarts the computer. On restart, if **Automatic Restart Sign-On** is enabled, the device automatically signs in and locks based on the last interactive user. After sign in, it restarts any registered applications. |
30-
| /a | Aborts a system shutdown. Can only be used during the time-out period. Combine with **/fw** to clear any pending boots to firmware. |
30+
| /a | Aborts a pending system shutdown. This must be run as a separate command in a new command prompt window during the time-out period (for example, `shutdown /a`). Combine with **/fw** to clear any pending boots to firmware. |
3131
| /p | Turns off the local computer only (not a remote computer) with no time-out period or warning. You can use **/p** only with **/d** or **/f**. If your computer doesn't support power-off functionality, it shuts down when you use **/p**, but the power to the computer remains on. |
3232
| /h | Puts the local computer into hibernation, if hibernation is enabled. The **/f** switch can be used with the **/h** switch. |
3333
| /hybrid | Shuts down the device and prepares it for fast startup. This option must be used with the **/s** option. |
34-
| /soft | Allows running processes and applications to gracefully close instead of forcibly terminating. |
3534
| /fw | Combining this option with a shutdown option causes the next restart to go to the firmware user interface. |
3635
| /e | Enables you to document the reason for an unexpected shutdown of a computer in the [Shutdown Event Tracker](/troubleshoot/windows-server/application-management/description-shutdown-event-tracker). |
3736
| /o | Goes to the **Advanced boot options** menu and restarts the device. This option must be used with the **/r** option. |
@@ -125,6 +124,12 @@ To restart the remote computer *myremoteserver* in 5 minutes due to a security u
125124
shutdown /r /t 300 /e /c "Security Update" /m \\myremoteserver
126125
```
127126

127+
To cancel a pending shutdown (must be run in a new command prompt window during the timeout period), type:
128+
129+
```
130+
shutdown /a
131+
```
132+
128133
## Related links
129134

130135
- [Command-Line Syntax Key](command-line-syntax-key.md)

0 commit comments

Comments
 (0)