There are many situations where you may want your Windows 11 PC to shut down automatically at a specific time. For example, you might leave a large file download running overnight, finish a lengthy video rendering task, or simply want your computer to turn off automatically after work hours. Instead of manually shutting down your PC every time, Windows 11 provides several built-in methods that allow you to schedule an automatic shutdown.
Scheduling an automatic shutdown can help save electricity, reduce unnecessary wear on hardware components, and improve security by ensuring your computer does not remain powered on when it is not needed. Whether you want a one-time shutdown, a daily shutdown schedule, or a recurring weekly shutdown plan, Windows 11 includes tools such as Command Prompt, Run, Task Scheduler, Windows Terminal, and PowerShell to make the process simple.
In this guide, you will learn multiple methods to schedule automatic shutdowns in Windows 11. Each method is explained in easy-to-follow steps so both beginners and advanced users can set up shutdown schedules according to their requirements.
Method 1: Schedule a Shutdown Using the Run Dialog
The quickest way to schedule an automatic shutdown is by using the Run command.
Steps:
- Press Windows + R to open Run.
- Type the following command:
shutdown -s -t 3600
- Click OK or press Enter.
In this command:
- -s tells Windows to shut down the computer.
- -t specifies the delay in seconds.
- 3600 equals one hour.
You can replace 3600 with any number of seconds you prefer.
Examples:
- 600 = 10 minutes
- 1800 = 30 minutes
- 7200 = 2 hours
- 14400 = 4 hours
After running the command, Windows will display a notification showing the scheduled shutdown time.
Method 2: Schedule Automatic Shutdown Using Command Prompt
Command Prompt provides more flexibility when creating shutdown timers.
Steps:
- Open Start.
- Search for Command Prompt.
- Open it.
- Type the following command:
shutdown /s /t 7200
- Press Enter.
The computer will automatically shut down after the specified time period.
This method is useful when you frequently work with command-line tools and want a fast way to create shutdown timers.
Method 3: Schedule Shutdown Using Windows Terminal
Windows Terminal supports both Command Prompt and PowerShell commands.
Steps:
- Right-click the Start button.
- Select Terminal.
- Enter:
shutdown.exe /s /t 5400
- Press Enter.
The shutdown timer will begin immediately.
Windows Terminal is particularly useful for users who already use Terminal for administration and scripting tasks.
Method 4: Schedule a Shutdown at a Specific Time Using Task Scheduler
If you want Windows 11 to shut down at an exact time every day, Task Scheduler is the best option.
Steps:
- Open Start.
- Search for Task Scheduler.
- Open the application.
- Click Create Basic Task.
- Enter a task name such as “Daily Shutdown.”
- Click Next.
- Choose:
- Daily
- Weekly
- Monthly
- One Time
- Click Next.
- Select the desired shutdown time.
- Click Next.
- Choose Start a Program.
- Click Next.
In the Program/Script field enter:
shutdown
In the Add Arguments field enter:
/s /f
- Click Next.
- Review the settings.
- Click Finish.
Windows will now automatically shut down according to the schedule you selected.
Method 5: Create a Daily Automatic Shutdown Schedule
Many users want their PC to turn off automatically every evening.
Steps:
- Open Task Scheduler.
- Select Create Basic Task.
- Name it “Nightly Shutdown.”
- Choose Daily.
- Select a shutdown time.
- Set the program to:
shutdown.exe
Arguments:
/s /f
- Save the task.
The computer will shut down every day at the specified time.
This setup is useful for office computers, family PCs, and workstations that should not remain powered on overnight.
Method 6: Create a Shutdown Shortcut on the Desktop
You can create a desktop shortcut that starts a shutdown timer whenever you double-click it.
Steps:
- Right-click an empty area on the desktop.
- Select New > Shortcut.
- Enter:
shutdown.exe -s -t 1800
- Click Next.
- Enter a shortcut name.
- Click Finish.
Whenever you open the shortcut, Windows schedules a shutdown after 30 minutes.
You can customize the timer duration by changing the number of seconds.
Method 7: Schedule Automatic Shutdown Using PowerShell
PowerShell offers another method for creating shutdown schedules.
Steps:
- Open PowerShell.
- Enter:
Start-Process shutdown -ArgumentList "/s /t 3600"
- Press Enter.
Windows starts the shutdown countdown immediately.
PowerShell is especially useful when incorporating shutdown commands into scripts and automation workflows.
Method 8: Cancel a Scheduled Shutdown
Sometimes you may change your mind after scheduling a shutdown.
Fortunately, Windows allows you to cancel it easily.
Steps:
- Open Run using Windows + R.
- Type:
shutdown -a
- Press Enter.
You should see a confirmation message stating that the scheduled shutdown has been canceled.
This command works for shutdown timers created using Run, Command Prompt, PowerShell, or Terminal.
Method 9: Schedule Shutdown After Programs Finish
Some users want Windows to shut down after a download, backup, or rendering task completes.
A simple approach is:
- Create a batch file.
- Run your application.
- Add a shutdown command at the end.
Example:
@echo off
yourprogram.exe
shutdown /s /t 60
After the application closes, Windows begins a one-minute shutdown countdown.
This method is useful for video editors, developers, and users performing lengthy automated tasks.
Method 10: Use Task Scheduler for Weekly Shutdowns
If you only need automatic shutdowns on specific days, Task Scheduler can handle that as well.
Steps:
- Open Task Scheduler.
- Select Create Basic Task.
- Enter a task name.
- Choose Weekly.
- Select desired days.
- Set the shutdown time.
- Configure:
Program:
shutdown.exe
Arguments:
/s /f
- Complete the wizard.
Your PC will now shut down automatically on the selected days each week.
Understanding Shutdown Command Options
The shutdown command supports several useful switches.
Shutdown Computer
shutdown /s
Restart Computer
shutdown /r
Force Running Applications to Close
shutdown /f
Specify Delay Time
shutdown /t seconds
Abort Shutdown
shutdown /a
Learning these options allows you to create more advanced shutdown schedules.
Benefits of Automatic Shutdown Scheduling
Using automatic shutdown schedules offers several advantages:
- Reduces electricity usage.
- Prevents systems from running unnecessarily.
- Improves security.
- Helps maintain workplace policies.
- Reduces hardware wear.
- Prevents accidental overnight operation.
- Useful for downloads and backups.
- Simplifies daily computer management.
Many businesses use scheduled shutdowns to ensure workstations are not left running after office hours.
Frequently Asked Questions
Can I schedule a shutdown at a specific time every day?
Yes. Task Scheduler allows you to create daily shutdown schedules that run automatically.
Does automatic shutdown work when my PC is locked?
Yes. As long as Windows is running, the scheduled shutdown will occur even if the device is locked.
Can I cancel a shutdown timer?
Yes. Use:
shutdown -a
before the timer expires.
Will unsaved files be lost?
Potentially. To avoid prompts preventing shutdown, many scheduled tasks use the /f switch to force applications to close. Save your work regularly.
Can I schedule both shutdown and restart tasks?
Yes. Replace /s with /r when creating a restart schedule.
Is Task Scheduler better than the shutdown timer command?
For recurring schedules, Task Scheduler is the better option. For one-time shutdowns, the shutdown timer command is faster and easier.
Final Thoughts
Scheduling an automatic shutdown in Windows 11 is a convenient way to manage your computer’s power usage and automate routine tasks. Whether you need a one-time shutdown after a few hours, a nightly shutdown schedule, or a recurring weekly shutdown plan, Windows 11 provides several built-in tools to accomplish the task without installing third-party software.
For quick shutdown timers, the Run dialog, Command Prompt, PowerShell, and Windows Terminal methods work extremely well. For more advanced scheduling needs, Task Scheduler offers complete control over when and how your PC shuts down. You can create daily, weekly, monthly, or one-time shutdown events and modify them whenever your needs change.
By learning these methods, you can keep your computer running only when necessary, save energy, improve security, and automate repetitive tasks with minimal effort.


