How To Schedule Automatic Shut Down in Windows 11

Introduction

In this article, you will learn how we can schedule automatic shutdown in Windows 11.

Automatic shutdown in Windows 11 is one of the functions of the Windows operating system that ensures the safety and security of your computer. In general, we prefer that our system shut down correctly every time in order to extend the life of the operating system.

Why schedule a shutdown?

  • Most of us face a common problem with Windows 11; i.e., abrupt shutdown due to updates. Scheduling a shutdown will save us from losing our work.
  • Many a time we find ourselves in a situation where we have to leave our system for the installation to finish. So we can schedule a shutdown as soon as the installation finishes.
  • When you work on your computer late at night, it might be difficult to remember to shut it down; in such instances, you should use your computer's automatic shutdown scheduling.

Method 1. Using Run Command (Windows+R)

Step 1. From the Start menu, open the Run dialog box or you can Press the "Window + R" key to open the RUN window.

Step 2. Type "shutdown -s -t <number in seconds>" and press Enter Key.

Example. If you want to shut down your PC/laptop after 10 minutes then, type: shutdown -s -t 600.

After you finish this setting, the system will prompt you about the auto-shutdown time, as seen in the image below.

Method 2. Using Command Prompt

Step 1. Open Command Prompt.

Step 2. Type "shutdown -s -t <number in seconds>" and press enter key.

Example, if you want to shut down your PC/laptop after 100 minutes then, type: shutdown -s -t 6000.

In this case, 6000 denotes the number of seconds, therefore your machine will shut down automatically after 100 minutes. You may also experiment with other settings to find the one that works best for you.

Following completion of this setting, the system will prompt you about the auto-shutdown time, as seen in the image below.

Method 3 - Using Task Scheduler

Step 1

Open Start, Search for Task Scheduler, and press "enter" to open Task Scheduler.

Step 2. Click on the "Create Basic Task" option.

Step 3. Provide a name for the task, such as Automatic Shutdown, and a description, such as "This utility will automatically shut down." Next, press the enter key.

Step 4. Choose when you want your job to begin; simply, you need to tell the scheduler how frequently you want the activity to occur. Click Next.

Step 5. Set the Start date and time of the task. Click Next.

Step 6. To begin, select "Start a program" from a list of actions and then click the "Next" button.

Step 7. Select "shutdown.exe" from C/Windows/System32 by clicking the Browse Button. To proceed, enter "-s" as the argument and click the "Next" button.

Step 8. Click the "Finish" button to complete the task.

Method 4. Using Desktop Shortcut

Step 1. Right-click any empty place on the Desktop to bring up a tiny box. It has a lot of options. Simply drag the cursor to New and then click Shortcut.

Step 2. A popup will appear with the question "What item would you like to create a shortcut for?" As a response, type "C:\Windows\System32\Shutdown.exe."

Step 3. Click Next. Windows will give you one more question concerning the name of this shortcut, to which you may type whatever you like, and then click Finish.

Step 4. A new shortcut will appear on your Desktop. Select Properties by right-clicking on it. There will be a box visible. Fill in the blanks: At the Target input box, type -s -t 3600 -c "Operation was successful."

"Operation was successful" is the text that will show up, when the task completion.

You may replace "3600" with any time period you desire (measured in seconds) and "Operation was successful" with whatever text you want to display. Then press OK.

Conclusion

In this article, we discussed different methods to schedule automatic shutdown in Windows 11.

Visit C# Corner to find answers to more such questions.

If you have any questions regarding any other technology do have a look at the C# Corner Technology Page.


Similar Articles