How to automatically shut down Windows 10 after a while

Who I am
Marie-Ange Demory
@marie-angedemory
SOURCES CONSULTED:

support.microsoft.com

Author and references

There are times when we want our PC to shut down automatically after some time. It could be if there is a chance that you will fall asleep watching a movie online or if you want to do some other work and need a download to complete. In all these cases, it will be of great help if the PC turns off automatically according to the timer programmed by us.

There are many ways to do this. Let's explore some of these methods.



Using the Windows command:

1. Open the Run window by pressing Windows + R. In the Run command box, type the command " off -s -t 3600 / f ". Now click OK.

Note that if it doesn't work, you can also use stop / s / t 3600. 3600 seconds means it will automatically shut down after 3600 seconds. You can set the desired time in seconds to automatically shut down your Windows 10 PC after a while.

Note: - In Windows 8 and later, “shutdown / s / t 3600 / f” can also be used. Both commands are equivalent.

Below is the meaning of the various arguments used in the command:

/ s – spento

/ t - time in seconds. Here 3600 seconds is the indicated time. Then the system will shut down after 3600 seconds, which is 1 hour.

/ f- The “force shutdown” option is enabled.

Automatic shutdown is now programmed. This will appear as a notification on the taskbar.

2. But what if your plans have changed and you need to abort the scheduled shutdown process? Don't worry, you can do it easily. Just open the Run window by pressing Windows + R. Type the command " off -a And click OK. Here the argument -a means to abort.



Now you can see the notification about canceling shutdown.

Therefore, the scheduled shutdown is canceled.

Create a scheduled automatic shutdown Daily, weekly or monthly

Using the scheduler in our windows, we can configure options to automatically shut down our system. This has many options. We can schedule the shutdown task for any interval, such as every day or once and set a time when the task will run. For that, follow these steps.

  1. Open Task Scheduler from Search Panel or go to Control Panel-> System and Security-> Administrative Tools -> Task Scheduler. Select the Create Basic Task option on the Actions tab.

2. Give the task a name such as auto shutdown or auto window shutdown as you like. Then click Next.

2. Now choose the frequency of the activity. If you want to schedule shutdown at a certain time every day or just one day, select the option according to your needs. Then click Next.


3.Time set the time when the event will start. If configured as a single event, at the scheduled time, the system will shut down that day. If another period is set, the shutdown task will be performed after each interval. After setting the start time, click Next.


4. Now, in the Action tab, select “Start a program” and click Next.

5.In the program / script bar, type the path ' C: Windows System32 shutdown.exe ‘. Dare ‘ / S 'as an argument. Click Next.

6. Now complete the scheduled task by clicking Finish.

Now the shutdown is programmed for the indicated time. If you want to cancel or delete the task, go to the scheduler and right click on the task we created for automatic shutdown and select Deactivate. To permanently delete the activity, select Delete.

These methods can be used to automatically shut down the system. So now don't worry about forgetting to shut down the system. Just program it using one of the methods above and voila.

add a comment of How to automatically shut down Windows 10 after a while
Comment sent successfully! We will review it in the next few hours.