In Windows 11, unlike what happens with televisions and certain electrical appliances, there is no scheduled shutdown mode within its configuration options.
The closest thing to this function is the sleep mode or hibernation mode of laptops that reduce energy consumption, but they are not very useful for long periods of complete inactivity in which it is preferable to keep the computer turned off.
Fortunately, there are third-party programs that efficiently fulfill their task of automatically shutting down the system, either in periods when no activity is detected or at a pre-established time.
Windows 11 Task Scheduler
However, there is a quite effective option that is within the functions of Windows 11 and it is the Task Scheduler.
This function of Windows 11 allows you to schedule certain tasks, including the automatic shutdown of the system. These are the steps to follow.
How to schedule Windows 11 shutdown?
On the taskbar, click the magnifying glass to open the search function.
In the Type here to search box, type Task Scheduler and when this tool appears, click Open.
Once Task Scheduler is open, go to the Actions section and click Create Basic Task.
Next, a wizard will open. Type a name for the task, a brief description, and click Next.
Now, specify how often the scheduled shutdown task should be carried out. Options include Daily, Weekly, Monthly, Once, and When a specific event is recorded.
Choose one of those options and click Next. Then, you specify the start date, the time the shutdown will run, and the repeat interval.
In the new window that opens, click Start a program, and then click Next.
The program chosen for this task is the command Shutdown.exe, whose path is C:\Windows\System32\shutdown.exe. Select this command with the Browse option and click Next.
Confirm the actions performed and click Finish. That is all.