Skip to main content

Restart PC from CMD

To Restart your Computer from CMD. Follow the steps mentioned below:
  • Open CMD
  • Type shutdown -r -t 120 in CMD
  • Press Enter
  • A dialog box will appear showing that windows is restarting.
  • After 120 seconds your Computer Restarts.
  • Change time according to your requirement.

You can also perform it using Batch file. Follow the steps mentioned below:
  • Open Notepad
  • Type shutdown -r -t 120 in Notepad
  • Save it as restart.bat
  • Open restart.bat
  • A dialog box will appear showing that windows is restarting.
  • After 120 seconds your Computer Restarts.
  • Change time according to your requirement.