Question
Issue: How to make computer shut down on a timer in Windows?
Hello. Is there a way to program a Windows computer to shut down automatically after a certain time?
Solved Answer
Sometimes, users may want to take advantage of the automatic shutdown in Windows. Even though the computer usually goes into sleep mode[1] after some period of inactivity, it is best to shut it down for longer breaks. Sleep mode uses very little power, RAM,[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.[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.
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
- -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
Method 3. Use a Desktop Shortcut
- Go to your Desktop and right-click anywhere
- Select New, and then Shortcut
- Type in the command Shutdown -s -t 3600 and click on Next
- 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
- 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
- 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
- Type the name for this shortcut and click on Finish
Optimize your system and make it work more efficiently
Optimize your system now! If you don't want to inspect your computer manually and struggle with trying to find issues that are slowing it down, you can use optimization software listed below. All these solutions have been tested by ugetfix.com team to be sure that they help improve the system. To optimize your computer with only one click, select one of these tools:
Access geo-restricted video content with a VPN
Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.
Don’t pay ransomware authors – use alternative data recovery options
Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files – Data Recovery Pro.
- ^ Sleep mode. Wikipedia, the free encyclopedia.
- ^ What is Computer Memory (RAM) and What Does It Do?. Crucial. Memory and Storage.
- ^ Energy Efficient Computers, Home Office Equipment, and Electronics. Energy. Appliances & Electronics.