Skip to main content

Shutdown PC from CMD

To Shutdown your Computer from CMD. Follow the steps mentioned below:


  • Open CMD
  • Type shutdown -s -t 120 in CMD
  • Press Enter
  • A dialog box will appear showing that windows is shutting down.
  • After 120 seconds your Computer Shutdowns.
  • Change time according to your requirement.

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