SHARE

scheduleShort Bytes: This article describes the steps to schedule a Shutdown command for Windows OS. Take a look.

The very first task we learnt was to Turn ON and Shutdown Windows when we were kids, and sometimes we felt the need to shut down Windows after a specified time in case of an emergency or due to some other reason, but couldn’t find a way to do so.

In this article we’ve described a step-by-step process to schedule a shutdown command for Windows OS. This method has been tested on Windows 10 & Windows 7, hopefully it’ll work on other versions too.

It is recommended to read all the steps carefully before implementing them.

Here are steps:

  1. Go to your Desktop.
  2. Right click -> New -> Shortcut. A new window will open, asking the location for the shortcut.schedule shutdown
  3. Now, you need to recall your primary math concepts.
  4. We have,

1 minute = 60 seconds

1 hour = 60 minutes*60 = 3600 seconds

  1. After you’ve successfully recalled the conversion of minutes to seconds. Type, shutdown –s –t 60 in the text field below ‘Type the location of this item’.

schedule shutdown

  1. The number 60 written in the above command stands for seconds, so type the number of seconds after which you want to schedule a shutdown. For example, we tested it to shut down after 1 minute (60), and it worked successfully.
  2. Click Next, when you’re done typing the command.
  3. In the next step, name the file Shutdown.exe. You can name it whatever you like, but don’t forget to add ‘.exe’ at the end of the file name.schedule shutdown
  4. Click Finish and you’re done.
  5. Now, just double-click the Shutdown.exe file created on your desktop whenever you need to schedule a shutdown after a minute gap.

This is a one-time process and you don’t need to repeat it again. Just double-click ‘Shutdown.exe’ and leave the rest to your Windows PC.

Also Read: Use the New Windows 10 Keyboard Shortcuts in Command Prompt

If you feel the need to change the time limit, just delete the existing ‘Shutdown.exe’ and create a new one with a different time limit, following the above steps. You can keep the existing file also, just choose another name for the next file you create.

And it is solely your responsibility if anything goes wrong with your PC. No offence please.

Sponsored
To get ahead in your career as a developer, you need to keep learning new programming languages and frameworks. Even people like Bill Gates and Mark Zuckerberg are advocates of massively popular “Learn To Code” movement. At Fossbytes Academy, we help beginners as well as experts by providing hand-picked courses on Python,  JavaScript,  Java,  Kotlin,  Swift,  HTML,  CSS,  RubyC/C++/C#, and a lot more. All courses come with heavy discounts and a 15-day satisfaction guarantee. Check them out!
SHARE
Aditya Tiwari
When he is not writing for Fossbytes, he is busy eating his daily cheat meal and finding content to binge watch. Please feel free to suggest him some good stuff on Netflix. Reach out at [email protected]