How to Shutdown, restart, log off and set timer on your PC using CMD

In this article we are going to discuss some commands which are used to shutdown, restart, log off and set timer for shutdown.

 

STEP1

 

 

First of all type CMD in the search menu of your PC:

How to Shutdown, restart, log off and set timer on your PC using CMD

 

 

STEP2

 

CMD will open :

How to Shutdown, restart, log off and set timer on your PC using CMD 2

 

 

 

1. How to shutdown your PC (using Windows Command Line)

Type “shutdown –s” and hit enter your PC will Shut down:

How to shutdown your pc using cmd

2. How to restart your PC (using Windows Command Line)

Type “shutdown –r” and hit enter your PC will restart:

how to restart your PC using cmd

3. Log off your PC (using Windows Command Line)

Type “shutdown –l” and hit enter your PC will log off:

how to log off your PC using CMD

4. Set timer for PC shutdown (using Windows Command Line)

In order to set timer for your PC to shutdown simply type “shutdown /s /t” and set seconds and then hit enter:

how to set time for your PC using CMD

Your PC will shutdown after the time you have set.

Summary

In this article we have discussed 4 useful commands which are used to shutdown, restart, log-off and set timer for shutdown.

 

Written by 

avatar
  Subscribe  
Notify of