ACTIVE MALWARE WINDOWS

How to fix
Make computer shut down on a timer
on Windows

Easily set your Windows 10 or 11 computer to shut down on a timer with our expert-tested tips. Optimize your settings for hassle-free sleep mode!

How to make computer shut down on a timer in Windows?
Quick Summary
Impact level
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Fix it now →
Ad · we may earn a commission
0 Comments
01

Why does How to make computer shut down on a timer in Windows occur?

  • Users may want to take advantage of the automatic shutdown feature
  • Leaving the computer in sleep mode for extended periods can be draining
  • Not shutting down can be environmentally unfriendly
  • Users may forget to manually shut down their computer
  • Users may need to schedule shutdowns for specific tasks
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello. Is there a way to program a Windows computer to shut down automatically after a certain time?

Sometimes, users may want to take advantage of the automatic shutdown in Windows. Even though the computer usually goes into sleep mode[ref en-1] after some period of inactivity, it is best to shut it down for longer breaks. Sleep mode uses very little power, RAM,[ref en-2] the PC starts up faster, and users do not lose any work progress.

However, leaving it on sleep mode longer can be quite draining and not environmentally friendly. According to the U.S. Department of Energy, it is recommended that you put your computer into sleep mode if you are not going to be using it for more than 20 minutes. It is also recommended that you shut down your computer if you are not going to use it for more than two hours.[ref en-3]

That is why in that case, users can schedule a sleep timer shutdown in Windows. This can be done in several different ways. People can use the command prompt, the run dialog box, a desktop shortcut, or the Task Scheduler application to perform it. In this guide, you will find 4 methods to make computer shut down on a timer in Windows. We will also show you how to cancel the sleep shutdown command.

How to make computer shut down on a timer in windows
How to make computer shut down on a timer in windows

Method 1. Use the Command Prompt

  • Press Windows key + R to open the Run the dialog box
  • Type cmd and hit Enter
  • Type in the following  command, and hit Enter:

Shutdown -s -t 3000

Use the command prompt
Use the command prompt

  • -s is giving the command to shut down and -t is the number of seconds, you want it to wait
  • You can change the timing to your own liking

Method 2. Use the Run box

  • Press Windows key + R to open the Run the dialog box
  • Type shutdown -s -t and the number of seconds you need
  • Select OK

Use the run box
Use the run box

Method 3. Use a Desktop Shortcut

  • Go to your Desktop and right-click anywhere
  • Select New, and then Shortcut

Use a desktop shortcut
Use a desktop shortcut

  • Type in the command Shutdown -s -t 3600 and click on Next

Use a desktop shortcut2
Use a desktop shortcut2

  • Give the shortcut a name and click on Finish
  • A shortcut will be created on your Desktop

Method 4. Use Task Scheduler to Set up Regular Shutdowns

  • Open the Task Scheduler by typing Schedule into the Windows search box
  • Go to Actions and choose Create Basic Task
  • In the Name and Description boxes, enter a name and description of your task and click Next
  • In the Create Basic Task Wizard window, select a Trigger and go to the Next window

Use task scheduler to set up regular shutdowns
Use task scheduler to set up regular shutdowns

  • Enter the dates and times as needed using the prompts from the Wizard
  • In the Action window, select Start a program and click Next
  • In the Start a Program window, use the Browse button to select the shutdown program on your computer. It might be named shutdown.exe or some other form of shutdown, depending on your computer

Use task scheduler to set up regular shutdowns2
Use task scheduler to set up regular shutdowns2

  • After you have selected the shutdown file, select Open
  • In the Start a Program window, select Next
  • In the Summary window, select Finish

Cancel the Sleep Shutdown Command in Windows

  • Go to your Desktop and right-click anywhere
  • Select New, and then Shortcut
  • Type in the following command:

Shutdown -a

Cancel the sleep shutdown command in windows
Cancel the sleep shutdown command in windows

  • Type the name for this shortcut and click on Finish

Bottom line

This guide provides four methods to schedule a shutdown on a timer in Windows, including using the Command Prompt, the Run box, and creating a desktop shortcut. If these methods do not work, consider using the Task Scheduler application for more advanced scheduling options.

Frequently asked questions

You can use the Command Prompt by typing 'shutdown -s -t [time in seconds]' to schedule a shutdown in Windows 10.

Yes, you can create a task in Task Scheduler to run the shutdown command at a specified time in Windows 11.

Yes, you can cancel a scheduled shutdown by typing 'shutdown -a' in the Command Prompt before the timer expires in both Windows 10 and Windows 11.

Did this fix work for you?
Marcus Webb

Written & verified by

Network & Connectivity Expert
Network troubleshooting Wi-Fi connectivity DNS configuration Router and modem issues VPN setup errors

Marcus Webb covers network troubleshooting, Wi-Fi connectivity problems, and internet connection diagnostics for Windows users. From DNS resolution failures and IP address conflicts to router configuration and VPN connectivity issues, his guides address the full spectrum of network problems affecting home and small office setups. Marcus takes a methodical diagnostic approach — helping readers isolate whether a problem sits in Windows networking, the driver layer, router firmware, or with the ISP — before recommending targeted fixes that address the actual root cause.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →