top of page

How to shut down a computer running Windows from the Command Prompt

  • Jul 28, 2017
  • 1 min read

First off, you need to open MSDOS Command Prompt (CMD) from the Start Menu.

Type the Following :

SHUTDOWN

After typing SHUTDOWN, add the following to the end of the SHUTDOWN Command: | Text | Action | | -s | Shutdown or Power off the computer | | -c "Comment" | Add a comment | | -t xx | Time before shutdown | |-a |Abort |

Example:

SHUTDOWN -s -c "Ha Ha, I Shut Down your computer!!!!" -t 60

That will Turn your computer off in 60sec and display the message.

WARNING: After you start this, you can not stop it!!!! (unless you know how.....)

Steps To Turn off computer Automatically :

1) Go to Start > All Programs > Accessories > Command Prompt.

2) Type "SHUTDOWN" Then add a space. DO NOT PRESS ENTER!!!

3) Add the following:

-s -c "Your Text Here" -a -t 60

-s Shuts Down the computer

-c " " Adds a comment (Replace Your text Without Quotes)

-t Specifies the amount of time (Give it in Seconds) before the Shutdown Starts (Here It's 60 Seconds)

DO NOT PRESS ENTER!!!

4) WARNING: You Cannot Stop The Shutdown After You Have Started It !!

EDIT: Without this: SHUTDOWN -a cannot ends the shutdown process.

You can press enter now !

Example :- Shutdown -s -t 120

Computer will Shutdown in 2 mins after this command executed .

Comments


Featured Posts
Recent Posts
Archive
Search By Tags
Follow Us
bottom of page