How To Restart/Shutdown Using CMD


-task bar disappeared? 
-Screen resolution is off and can't see your task bar ? 
-RDP (Remote Desktop Protocol) and no restart/shutdown options ?
- just bored of doing the routine restart (start menu-->shutdown ->restart)? 
-or maybe you just want to look cool around people ;-}? 
or just for fun and want to prank others?
so how to restart using the Dos command or CMD?

Step 1: Open CMD
to open CMD : 
1. on your keyboard: hold windows logo key down and press "R" 
this will open Run 
2. type: CMD and hit enter 
this will open the Dos Command

you can open CMD in many ways but I prefer this way in case your screen resolution is off and you like to see what you're doing.


Step 2: Command Line to restart
to restart type the following (noting the spaces): 
shutdown /r /t 0

NOTE: there's a 1 space before each forward slash "/" and 1 space before x seconds (between t & # of seconds you specify).

Explanation: 
/r to request restart 
/t 0 sets the time to 0 seconds until it restarts. 
you can choose from /t 0 for zero seconds up to /t 1,440,000 (400 hours) [corrected] 
Examples: 
shutdown /r /t 60 =1 minute until the system restarts 
shutdown /r /t 180 = 3 minutes until the system restarts

Step 3: Good to know: Command Line to shutdown
to Shutdown, type the following (noting the spaces): 
shutdown /s /t 0

NOTE: there's a 1 space before each forward slash "/" and 1 space before x seconds (between t & # of seconds you specify).

Explanation: 
/s to request shutdown 
/t 0 sets the time to 0 seconds until it restarts. 
you can choose from /t 0 for zero seconds up to /t 1,440,000 (400 hours) [corrected] 
Examples: 
shutdown /s /t 60 =1 minute until the system shuts down 
shutdown /s /t 180 = 3 minutes until the system shuts down


Post a Comment

0 Comments