Mar 12, 2021 Right-click the Windows icon in the system tray and choose ' Run ' from the menu. Type the abbreviation ' cmd ' in the run field and confirm your entry by clicking 'Ok ' to open the Windows shell. Use the command ' at time shotdown / s ' to shut down the computer at a desired time.
We all like watching television, surfing internet at night. Do you ever slept keeping your television or laptop on for all night. It was my regular habit and I know many such people are there on this planet. But now our television sets are smarter. They can detect any activity and if it is idle for long time, they shut down automatically. But what about our pc or laptop. Do you know that Windows is one of the easiest and versatile operating system on the planet and you don’t have to be a computer expert to overcome this problem. Windows provides a very simple code to auto shutdown your laptop or pc after a set amount of time. Just memorize the following steps and commands.
Follow the steps below to run a simple command in Run box to shutdown Windows 10 automatically after 10 minutes. Press Win + R keys simultaneously on your keyword to open the Run dialog. Change the directory to C Drive - Windows - system32 using the CD command. Type the command shutdown -s -t 600. Click OK to execute the command. To get started with the basic method, pull up a regular Command Prompt and type in the following: shutdown -s -t seconds Obviously, you’ll want to replace the seconds bit with however many. Shutdown -s -f -t 30. Shutdown is the main process, -s makes it do shutdown (you can also do -r for restart, -l for logout), -f forces it so if you have a program open that prevents shutdown (like a 'do you want to save?' ) dialog, and then finally the -t sets the time in seconds, so 30 in this case is 30 seconds. You can easily do it with shutdown.exe, just open a run window and type in for example shutdown -s -f -t 30 Shutdown is the main process, -s makes it do shutdown (you can also do -r for restart, -l for logout), -f forces it so if you have a program open that prevents shutdown (like a 'do you want to save?' ) dialog, and then finally the -t sets the time in seconds, so 30 in this case is 30 seconds.
Method 1: Shut Down Windows 10/8.1/7 PC Automatically After a Specific Time Period Using Windows Command
Shutdown Timer Windows 10
Step #1: Open RUN Window
The simplest way to open RUN window is to press Windows+R
from your keyboard. When you press that combination from your keyboard, you will see the following on your pc/laptop screen.
The first step is complete. Now you have to put shut down command in your RUN dialogue box.
Step #2: Type SHUTDOWN Command
Learn and memorize this small piece of code. The simplified version of shut down command is as follows:
For windows 8 and newer versions of Windows, you may also type this code. Both of them will work equally.
The parameters used here with the command tells the actual work to be done.
- /s or -s tells for shut down.
- /t or -t tells the time. The number after ‘t‘ specifies number of seconds. Here 3600 means 3600 seconds, i.e., one hour. So the laptop or pc will shut down automatically after 1 hour.
- /f stands for forced. It will say for forced shutdown so that no program can prevent the shut down.
When you successfully typed the shutdown command and clicked “OK” button or pressed “ENTER“, the code will execute, and you will get a confirmation that your pc or laptop is going to shut down.
Now you can easily shut down your windows pc or laptop automatically.
Prevent Windows from Auto-Shutdown
You have already learned how to automatically shutdown your windows pc or laptop when you sleep. But what will happen if you have already set the timer for shutdown but you didn’t sleep. It will be very annoying if you are doing something important task and your laptop shuts down automatically due to that command. As it is forced shutdown, if the shutdown process is initiated, you will be unable to stop the process at that moment. Windows also provides another command to prevent that, but you will have to execute that before shutdown process is initiated, atleast one second earlier. The code to prevent auto shutdown is as follows.
The parameter “-a” says windows to abort any shutdown process that is already set. The process is same as before. You have to open the RUN window and have to type the code there.
When you have successfully executed this code, your laptop or pc will not shutdown automatically.
Method 2: Turn off Windows Automatically Using Task Scheduler of Your PC
You can create a schedule for shutting down Windows PC at a particular time regularly. For this, you can take help of Windows Task Scheduler option. This option is only available in Windows 7 and the later versions of Windows. Let’s see how to create a task for schedule shut down of Windows PC.
- Find Task Scheduler from the Windows search box and open it.
- Tap/choose the option Create Basic Task which is available under the Actions section at the right pane of Task Scheduler window.
- Give it a name like ‘Auto Shut down Windows’ so that you can identify the task easily in future.
- Click Next button and proceed to next screen.
- You can choose the frequency of the task from this section. If you want to shut down the Windows PC automatically every day, then you can choose Daily option. Otherwise go for the option that suits you best.
- You can set the Windows shut down time at the next recur setting window.
- Click on Next button and choose the action “Start a program”.
- Click Next and under program and script field type
- In the argument field type
/s
. - At last, review the setting and click Finish.
Your PC/laptop will shut down at the mentioned time every day.
Method 3: Create A Bat File to Turn Windows PC Automatically
To make the process easier you can create a batch file. When you run the bat file, the PC will turn off at the schedule time.
Open Notepad and type the below code there:
Save the file as shutdown.bat in your Windows desktop. Double click the file to run it. You will find a blank screen of command window. Just minimize it and do your work. At the schedule time you will get a message and your PC will shut down automatically. You can change the auto shut down time by changing %time% value. This code will turn off the laptop or PC at 1 a.m.
Method 4: Use ‘PC Auto Shutdown’ Application to Turn off Windows PC Automatically
“PC Auto Shutdown” is a Windows application which allows you to shut down your Windows PC at a schedule day, at a specific date, at a particular time. Just set the time at when you want to shut down your PC, select shutdown action and press OK
button.
Shutdown Timer Windows 10
The application will do the rest for you at the time you mention. However, you can reboot, hibernate, log off your PC using the brilliant utility.
Shutdown Timer Windows 10 Portable
Here is the download link:
Cached
Method 5: Wise Auto Shutdown Software
Wise Auto Shutdown is a free portable windows application that can schedule the Windows shut down/log off/restart/sleep task at a specified time and date. Also, you can repeat the same task regularly. The software reminds you five minutes before the execution of the task.
In this tutorial, I try to cover how to shut down Windows PC or laptop automatically. When you set a particular time at your PC to shut it down forcefully using the above Windows commands, the PC will shut down. This method is very much helpful to the people who work for hours at night and fell asleep while working.
5 Easy Ways To Set Windows 10 Auto Shutdown Timer
See Also:Extend Windows trial period for another one year