Leaving your PC on to finish a large download or render? You do not have to keep it running all night. Windows has a hidden built-in sleep timer that allows you to schedule an automatic shutdown after a specific amount of time. You do not need any extra third-party software to do this. This guide will show you the fastest way to set it up using a simple command.
WHY THIS MATTERS
You may need to perform this action when:
You are downloading a massive video game or file that will take several hours to finish.
You are rendering a high-resolution video and want the PC to turn off when it's done.
You want to fall asleep while listening to music or watching a movie without leaving the computer on until morning.
WHAT YOU WILL NEED
STEP 1 — Open the Run Dialog
Actions: To use the built-in shutdown timer, you need to open the Run window. Press the Windows Key + R on your keyboard at the same time. A small window will appear in the bottom-left corner of your screen.
STEP 2 — Enter the Shutdown Command
Actions: In the "Open:" text box, type the following command: shutdown -s -t 3600 and click OK (or press Enter).
Note: The number at the end represents seconds. 3600 seconds equals exactly 1 hour. A notification will pop up confirming your PC will shut down.
STEP 3 — How to Cancel the Scheduled Shutdown
Actions: If you change your mind and want to keep using your PC, you must cancel the timer. Press Windows Key + R again, type shutdown -a into the box, and press OK. You will see a notification saying the logoff is cancelled.
ALTERNATIVE METHOD
If you need your PC to shut down at a specific time every single day (for example, at 11:00 PM), using the Run command is tedious. Instead, search your Start menu for the Task Scheduler app. There, you can create a basic task that runs the shutdown.exe program daily on an automated schedule.
COMMON MISTAKES
PRO TIP
If you use this feature often, you can create a clickable shortcut on your desktop! Right-click your desktop, select New > Shortcut. In the location box, type shutdown -s -t 3600, click Next, name it "1-Hour Shutdown", and click Finish. Now you can start the timer with a simple double-click.
RESULT
After completing all steps, you will achieve:
A computer that securely and automatically turns itself off after your specified time, saving electricity and extending hardware lifespan.
INTERNAL LINKS
DISCLAIMER
This guide is for educational and informational purposes only. Proceed at your own risk. Make sure to save all your important documents and close your work before setting a shutdown timer, as unsaved data will be lost when the PC turns off.