How to set automatic shutdown of a computer or laptop - Windows 11
How to set automatic shutdown of a computer or laptop in Windows 11? How to make the computer turn itself off after a while? How to set automatic system shutdown after an hour or several hours? The thing is, when I'm done downloading something, I'd like the computer to shut down.
3 Answers
To set the shutdown of the computer after a certain time in a laptop with Windows 11, in the start menu in the search engine, enter the phrase "cmd" without quotes and press enter, this will bring up the command line.
Then enter the command in the window that pops up shutdown -s -t 3600.
3600 is an hour in seconds, that's the number of seconds. An hour has 3600 seconds.
A window will appear, we can close it, and in this way the computer will then turn off.
If you want to cancel, you have to do the same as above, just enter shutdown-a and press too enter after typing the command.
Often in the BIOS you can set the time at which the computer should automatically turn off. But that probably doesn't solve your problem.
To set your computer or laptop to automatically shut down in Windows 11, follow these steps:
1. Right-click on the Start menu and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".
2. In the window that opens, enter the command `shutdown -s -t XXXX` where XXXX is the number of seconds after which the computer should be turned off. For example, if you want the computer to shut down in 2 hours, type `shutdown -s -t 7200`.
3. Press Enter.
Your computer should now automatically shut down after the time you specified. Remember that you must save any open files and close programs before shutting down computerto avoid data loss.