0% found this document useful (0 votes)
46 views1 page

Shutdown Command

The document describes the shutdown command and its parameters for shutting down or rebooting local and remote computers. Key parameters include: -s to shut down, -r to reboot, -f to force close applications, -m followed by a computer name to target a remote system, -t plus a number of seconds to set a delay, and -c plus text in quotes to provide a shutdown message. Example commands are given to immediately reboot the local computer and force close apps, or shut down a remote PC in 60 seconds with a custom message.

Uploaded by

Ali Mohammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views1 page

Shutdown Command

The document describes the shutdown command and its parameters for shutting down or rebooting local and remote computers. Key parameters include: -s to shut down, -r to reboot, -f to force close applications, -m followed by a computer name to target a remote system, -t plus a number of seconds to set a delay, and -c plus text in quotes to provide a shutdown message. Example commands are given to immediately reboot the local computer and force close apps, or shut down a remote PC in 60 seconds with a custom message.

Uploaded by

Ali Mohammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Shutdown Command:

Parameter Function
-s Shuts down the computer.
-r Reboots the computer.
-f Force-close all running applications.
-m \\ Specifies a specific computer on the network that you want to shut down or
Computer reboot. Absent this parameter, the command affects only the local PC on which
it is run.
-t xx Sets a delay (xx seconds) before the specified operation commences.
/i Display the graphical user interface (GUI). This must be the first option
/l Log off
/p Turn off the local computer with no time-out or warning
/hybrid Performs a shutdown of the computer and prepare it for fast startup
-c Add your own text inside the quotations to provide remote users with a
"message" message about why and when their PC will shut down or reboot.
/e Document the reason for an unexpected shutdown of a computer.
/a Aborts a shutdown or restart if used during the (-t) delay period.
/h Hibernates the computer.
/o Go to the advanced boot options menu and restart the computer.
Must be used with /r option.
/? Displays the full help document with all commands.

Note: with the switches ”/” or “-” are same

Shutdown Command Examples

1.
shutdown -r -f -t 0

That command will reboot the computer (-r), force all applications to close so that one doesn’t
get stuck and prevent the reboot from happening (-f), and it will happen immediately with a zero
second delay (-t 0).

2.

shutdown -s -f -m \\UPSTAIRS -t 60 -c "Shutting down for storm. Save work and


close apps."

This command shuts down the computer (-s), forces running applications to close (-f), designates the
remote PC by name (-m \\UPSTAIRS) because you’re executing the command on your own PC, gives a
time delay of 60 seconds (-t 60), and provides a descriptive message (-c) that will appear on your
spouse’s computer to notify them of the impending shutdown.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy