How to Shut Down Your
Computer With the Command Prompt:
Most of us are using shutdown button in the menu bar to
shutdown computer, very less people are using command prompt to shut down a
computer, why because most of them don't know how to shutdown a computer with
command prompt
By using command prompt we can shutdown a computer, we can
log off, we can restart
This article will help to shutdown a computer with the
command prompt
Step 1: open
command prompt (Go to Start -> type cmd
in search box)
Step 2: Type shutdown
-s in the command prompt and click on enter, this command will shut down
your computer
It will display a
message like windows will shut down in
less than a minute.
Type shutdown -r in
command prompt and click on enter, this command will restart your computer
It will display a message like windows will shut down in less than a minute.
Type Shutdown -l in
command prompt and click on enter, this command will logoff your computer
If you want to shut down your computer after a specific time
use the below command
Type shutdown -s -t 200
in command prompt and click on enter, this command will shut down your
computer after 200 seconds
Click on enter you will get a message as shown below
If you want to display a custom message before shut down a
system use below command
Type shutdown -s -t
300 -c "Bye I am going to sleep" in your command prompt and click
on enter
-c command will give
the reason for shut down
It will give a message as shown below
If you want to terminate already scheduled shutdown use
below command
Type shutdown -a in
command prompt and click on enter it will stop the system from shutting down
You will get a notification
as shown below
Enjoy :)
Thank you for visiting how2doit.in, if you find any error in my
post, please let me now in the comments














No comments:
Post a Comment