How to Reboot a PC From the Command Prompt

Techwalla may earn compensation through affiliate links in this story.
Image Credit: moodboard/moodboard/Getty Images

You can reboot your PC using the "Start" menu and selecting the "Restart" option. However, there are other options for this function, including the command line (or prompt) dialogue window. The command line dialogue resembles the commands of MS-DOS, which is a predecessor to the Windows operating system. In addition, you can set a certain time until the reboot instead of opting for a default time out.


Step 1

Click the "Start" menu and select "Run." (Type "run" and hit "Enter" after clicking on "Start" in Windows 7 and Vista.)

Video of the Day

Step 2

Type "cmd" and hit "Enter" to bring up the command prompt window.

Step 3

Type "shutdown -r" and hit "Enter." You computer will restart in 30 seconds.



If you want more or less than the default 30 seconds until your computer restarts type "shutdown -r -t xx," where "xx" stands for the number of seconds until the reboot.



Report an Issue

screenshot of the current page

Screenshot loading...