How to Schedule Automatic Shutdown on Windows 11
You can schedule an automatic shutdown on Windows 11 using the Task Scheduler to conserve energy and reduce your electricity bill.
An automatic shutdown ensures your PC powers off at a predetermined time each day, preventing unnecessary power consumption when you are not actively using it.
This feature is particularly useful for users who forget to shut down their computers or want to ensure a consistent shutdown routine, even with Windows 11’s built-in update mechanisms.
For example, you can configure your PC to shut down precisely at 11:00 PM every night.
Remember to save all your open work before initiating the automatic shutdown process, as unsaved data will be lost when applications are forced to close.
Method 1Using the Run Dialog (Quick Shutdown Timer)
If you just want to shut down in a few hours, use the Run dialog.
- Press Windows Key + R on your keyboard.
- Type
shutdown -s -t 3600and press Enter. (3600 represents seconds, so this will shut down in one hour). - A notification will appear telling you when the PC will turn off .
How to cancel a scheduled shutdown
If you change your mind, you can stop the timer instantly.
- Press Windows Key + R.
- Type
shutdown /aand press Enter. - The scheduled shutdown will be aborted immediately.
Method 2Using Task Scheduler for Daily Automation
To schedule a shutdown for a specific time every day, use Task Scheduler.
Click your Start menu and search for “Task Scheduler.”
Once the app opens, click on “Task Scheduler Library” on the left. On the right side of the window, click “Create Task.”

A window will pop up. Follow these steps:
- On the General tab, type a name for your task.
- Select “Run whether the user is logged on or not.”
- Check the box for “Run with highest privileges” (This step requires admin privileges).
- Set “Configure for” to “Windows 10 or Windows 11.”

Next, click the Triggers tab and click the “New” button.

In the new window:
- Set the task to begin “On a schedule.”
- Select “Daily.”
- Pick your preferred time.
- Make sure the “Enabled” box at the bottom is checked.
- Click OK.

Now, click the Actions tab and click “New.”

In the action window:
- Keep “Start a program” selected.
- In the “Program/script” box, type:
shutdown.exe - In the “Add arguments” box, type:
/s /t 60 /c "Computer will shutdown in 60 seconds" - Click OK.

Next, go to the Conditions tab. Uncheck “Start the task only if the computer is on AC power” and check “Wake the computer to run this task.” Click OK.

You will be asked to enter your user account password to save these changes (This step requires admin privileges).

Your task is now active! You will see it listed in the Task Scheduler library.

Summary
Scheduling a shutdown is an easy way to save energy. By using the Task Scheduler tool or the Run command, you can control exactly when your PC powers off. Always remember to save your work before the timer hits zero to prevent data loss. If you make a mistake, use the shutdown /a command to cancel the process immediately.
Can I restart instead of shutting down?
Yes. In the Task Scheduler Action settings, simply change the argument from /s to /r. The /r flag tells Windows to perform a restart instead of a full power-off. This is useful for clearing system memory or applying updates automatically.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
[…] Windows, which uses an app called Task Scheduler, Ubuntu Linux uses a job scheduler called […]
[…] on your hard drive before turning off the computer. On most PCs, one can resume using the power button. Sometimes, pressing any key on the keyboard or opening a lid on the laptop may wake the PC […]
[…] from where you left off without losing your work or sessions. On most PCs, one can resume using the power button. Pressing any key on the keyboard or opening a lid on the laptop may wake the PC from […]
[…] open the Task Scheduler in Windows. In Windows 11, go to the Start Menu, then search for and open the Task Scheduler […]
[…] most PCs, one can resume using the power button. However, in many cases, pressing any key on the keyboard or opening a lid on the […]