How to schedule automatic shutdown of a Windows computer

The Boss

PC

How to schedule automatic shutdown of a Windows computer

Auto power off, automatic, computer, Computers, Microsoft, pc, Schedule, shutdown, Software, the Windows, Windows, Windows 10

Have you ever wanted your PC to shut down at a specific time? You might want to leave it on to download a large file at night or when you’re away from home.

It is in these situations that it becomes very practical to know how to program it so that it turns off. There is no official function that allows you to do this in Windows 10, but it is easy to do even without downloading any type of Software Additional.

How to schedule automatic shutdown of Windows 10: command prompt

The easiest way to configure your computer to turn off automatically is to use the Command Prompt program included with Windows 10:

1. In the search bar next to the start menu, search for “cmd” and click on the appropriate result.

Windows automatic shutdown

2. In the window that appears, type “shutdown -s -t XXXX”, replacing “XXXX” with the number of seconds you want to pass before your PC shuts down. For example, if you want it to shut down in an hour, type “shutdown -s -t 3600”.

3. Press “Enter” and an alert should appear to confirm that you want your PC to shut down after this specified time.

Windows automatic shutdown

It won’t affect anything you do on your device and you can even close the Command Prompt window without a problem. If you want the computer to restart (and not shut down), use the command “shutdown -r -t” and the corresponding seconds.

To cancel either action, open the same Command Prompt window, type “shutdown -a” and press “Enter.” You will be confirmed that the scheduled automatic shutdown (or restart) has been canceled.

Windows automatic shutdown

How to create an automatic shutdown shortcut in Windows 10

If you often need to leave your computer on before it turns off, it’s worth making a shortcut to the process described above. The process is relatively straightforward:

1. Right click on any free space on your desktop.

2. Select “New”, then “Shortcut”.

Windows automatic shutdown

3. In the window that appears, type the same command as before ‘shutdown -s -t (number of seconds) then click on’ Next ‘.

Automatic shutdown in Windows

4. On the next screen, assign a name to this shortcut (for example, Stop 1 hour) and click “Finish”.

Automatic shutdown in Windows

5. This icon will now appear on the desktop. If you double click, this command will be executed.

Automatic shutdown in Windows

You can also create a similar shutdown shortcut to quickly undo that shutdown. Clicking on this icon and choosing “Properties” will allow you to customize its font and design to differentiate them.

On the other hand, you might want to use a Software external, such as the sleep timer. This program is completely free and works the same as the command prompt method.

For more tips on Windows automations, see our tips on managing programs that run automatically.

.

Leave a Comment