Thursday

Shutdown Your Computer via Command Prompt



Many people shutdown their computer using the power button given in the start menu. Very few people use command prompt to shutdown a computer. In this article, I am going to tell you how to shutdown, log off, restart a computer.



Step 1. Go to Start > Run.


Step 2. Type cmd in the box and press ok. This will start command prompt.



To shutdown, log off and restart your computer follow the below instructions.



Shutdown your computer.


Type "shutdown -s" in the command prompt and press enter.


shutdown(space)-s



Log off your computer.


Type "shutdown -l" in the command prompt and press enter.


shutdown(space)-l


Restart your computer.


Type "shutdown -r" in the command prompt and press enter.


shutdown(space)-r


Shutdown your computer after a specific time.


Type "shutdown -s -t 60" in the command prompt and press enter to shutdown your computer after 60 seconds.


shutdown(space)-s(space)-t(space)60 




Display a message containing the reason for shutdown.


Type ( shutdown -s -t 60 -c "message" ) in the command prompt and press enter. When you will press enter, You will see a warning message and countdown timer.



shutdown(space)-s(space)-t(space)60(space)-c(space)"message"



Stop a system shutdown.

Type "shutdown -a" in the command prompt and press enter. This will stop your computer from shutting down if the countdown to shutdown has not reached 0. 


shutdown(space)-a




If you find this post useful, tell about your experience other readers and share this post with your friends.





No comments:

Post a Comment