How to Reboot a PC From the Command Prompt

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.

Serious African American Businessman Working on Computer
credit: moodboard/moodboard/Getty Images

Step

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

Step

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

Step

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