as

How to set the PC to turn itself off at night and save energy

Windows has a task scheduling tool that can condition the system to shut itself down when not in use. It is up to the user to set a time and then choose how long the PC should be idle for the task to be put into practice. The most modern machines do not have to be turned off every day and the systems have very effective options that allow you to suspend the activities after a period of idleness.

Despite this, some people prefer to shut down the device for a number of reasons, such as power savings (especially for high-performance computers) and avoid problems of slowing due to long connected periods. If you also think so, here's how to set your PC to turn itself off at night when not in use.

Does PC take to hang up? Learn how to speed up the process

Make your PC shut down by itself when you stop using it at night

Step 1. In the Windows Search bar, enter the term "Task Scheduler" (without quotation marks). Click on the result indicated with clock icon;

of Tasks "in Windows

Step 2. In the window that opens, click "Create Task", option located in the action list on the right side of the screen;

Task "of Windows

Step 3. On the "General" tab, give a name for the task. In this example, we chose the title "auto power off". Still in the same tab, in the security options, select the option "Run while the user is connected or not" and check the box "Run with higher privileges". Below, under "Setup for", choose the version of Windows that is installed on your computer;

Step 4. Then click the "Triggers" tab and the "New" option, located at the bottom of the window;

Step 5. A new window will open. Under "Start the task", select the "On a schedule" option. Then select the "Diary" option so that the task runs every day, and set the start date and time at which the computer should be shut down. In our tutorial, for example, we chose 23h30. Keep the "Enabled" box checked and click "OK" to confirm the action;

Select the start date and time of scheduled activity in Windows

Step 6. Back to the "Create Task" window, go to the "Actions" tab and click "New";

Step 7. In the "Action" option, select "Start program" from the dropdown menu. Then fill in the field below "Programs / Scripts" with the word "shutdown" (without the quotation marks). In "Add arguments (optional)", you can choose between two options:

Type "/ S" (without the quotation marks) if you want to turn on the traditional shutdown, such as when you click the "Shut down" option in Windows. If you prefer the system to force the machine to shut down even if an application is running, type "/ S / F" (without quotes). Confirm on "OK";

Choose whether Windows can force programs to close

Step 8. Go back to the "Create Tasks" window and go to the "Conditions" tab. In it, check the box "Start the task only if the computer is idle there". Next, set the time interval when the machine should be out of use for shutdown to be enabled. In our example, we put 15 minutes. We also set the task to wait up to an hour for this idle time.

Still on the same tab, check the boxes for "Stop if computer is no longer idle" and "Restart if idle" again. Leave the other options as they were set before;

Configure the conditions in Windows Task Scheduler

Step 9. Finally, on the "Settings" tab, keep the previously enabled options checked. Then, click on the box for "If the task fails, restart every". Next, set the time to restart the activity. In our example, we opted for 30 minutes. Below, choose the number of times the system should attempt to restart the process in the event of an error - which we set three times. Once this is done, just click "OK".

Ready. Now, from the time you set, Windows will automatically shut down your computer if it is down.

How to activate the admin user in Windows 10? Discover in the Forum.

What's New in Windows 10