How to Schedule Automatic Shutdown on Windows 11
Do you often leave your computer running when you walk away for the day? Setting up an automatic shutdown Windows 11 is a great way to save energy and lower your power bill. Windows 11 has built-in tools that handle this for you easily.
Why automate your shutdown?
Computers need to stay on occasionally to receive important security updates. However, leaving them on 24/7 wastes electricity. By scheduling a shutdown, you ensure your PC stays updated while still turning off when you do not need it.
What happens when you are done?
Once you finish these steps, your computer will automatically begin the shutdown process at the exact time you selected every single day.
Important Warning: Unsaved Work
Before setting up an automatic shutdown, please save all your open files. The shutdown command will force close applications. Any unsaved progress in documents or games will be lost when the computer powers off.
Method 1: Using 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 2: Using 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 […]