1. Press the Windows key once and type “Task Scheduler” in the search box. Now, click on the first result.
![](https://static.wixstatic.com/media/a5f8de_d49edaee0de4481aadc240f8a29a40d4~mv2.jpg/v1/fill/w_640,h_430,al_c,q_80,enc_auto/a5f8de_d49edaee0de4481aadc240f8a29a40d4~mv2.jpg)
2. Next, click on “Create Basic Task” located in the right pane.
![](https://static.wixstatic.com/media/a5f8de_73666316b3224de4b26b6c861f4957b8~mv2.jpg/v1/fill/w_368,h_444,al_c,q_80,enc_auto/a5f8de_73666316b3224de4b26b6c861f4957b8~mv2.jpg)
3. After that, give a name to your task and click on “Next”. For example, I have entered “Automatic Shutdown”.
![](https://static.wixstatic.com/media/a5f8de_1ea794ef5bc9417991ff150c43f6a277~mv2.jpg/v1/fill/w_640,h_447,al_c,q_80,enc_auto/a5f8de_1ea794ef5bc9417991ff150c43f6a277~mv2.jpg)
4. On the next window, choose “Daily” if you want the shutdown to happen once every day. You are free to choose other options as well based on your preference.
![](https://static.wixstatic.com/media/a5f8de_0243f28a17a44d02917d7ae97493a32b~mv2.jpg/v1/fill/w_640,h_446,al_c,q_80,enc_auto/a5f8de_0243f28a17a44d02917d7ae97493a32b~mv2.jpg)
5. After that, enter the time and date from when the task will be active. As you can see, I have scheduled the automatic shutdown at 11 every night starting from today. Keep in mind, the time field only supports the 24-hour format so enter your data in that specific format only.
![](https://static.wixstatic.com/media/a5f8de_48963f4687f649e8a6a54d1320e0c834~mv2.jpg/v1/fill/w_640,h_448,al_c,q_80,enc_auto/a5f8de_48963f4687f649e8a6a54d1320e0c834~mv2.jpg)
6. On the Action tab, choose “Start a program” and click on “Next”.
![](https://static.wixstatic.com/media/a5f8de_55b323eaa8f84bb8b9855c8974c893af~mv2.jpg/v1/fill/w_640,h_447,al_c,q_80,enc_auto/a5f8de_55b323eaa8f84bb8b9855c8974c893af~mv2.jpg)
7. Now, paste shutdown.exe in the Program/Script field and /s /f /t 60 in the Add arguments field. Basically, /s means shutdown, /f means force-close apps and /t means timeout which is capped at 60 seconds. It means the computer will shut down every night at 11 after a timeout of 60 seconds. You can change the timeout time be changing the number of seconds.
![](https://static.wixstatic.com/media/a5f8de_efc41dc83f964d5ba1d278952c8cefb4~mv2.jpg/v1/fill/w_640,h_448,al_c,q_80,enc_auto/a5f8de_efc41dc83f964d5ba1d278952c8cefb4~mv2.jpg)
8. Now, you are almost done. Check all the details of your task and click on the “Finish” button.
![](https://static.wixstatic.com/media/a5f8de_bd1f09d2a6d44e1da77a0781997ea452~mv2.jpg/v1/fill/w_640,h_450,al_c,q_80,enc_auto/a5f8de_bd1f09d2a6d44e1da77a0781997ea452~mv2.jpg)
9. If you want to test if the automatic shutdown task is working as intended, click on “Task Scheduler Library” and right-click on “Automatic Shutdown”. Now, click on “Run”. If you have configured everything properly, your PC will shut down in 60 seconds.
![](https://static.wixstatic.com/media/a5f8de_b95b6aa10c4b4ff48990317728170aac~mv2.jpg/v1/fill/w_640,h_242,al_c,q_80,enc_auto/a5f8de_b95b6aa10c4b4ff48990317728170aac~mv2.jpg)
Comentários