Put a shutdown timer on your Windows desktop with this command
A shutdown timer can be quite handy for your Windows computer, especially if you have a habit of leaving your system running unattended. Sometimes you may want to shut down your PC after finishing a download, completing a backup, or simply after a certain period of time. With just a simple command, you can easily schedule an automatic shutdown in your Windows desktop. In this article, we will walk you through the process of setting up a shutdown timer using the Command Prompt (CMD) or PowerShell in Windows.
Step 1: Open Command Prompt or PowerShell:
There are multiple ways to access these tools, but let’s discuss two quick methods.
Method 1: Accessing Command Prompt:
– Click on the Start button or press the Windows key on your keyboard.
– Type “cmd” in the search bar, and click on “Command Prompt” from the search results.
Method 2: Accessing PowerShell:
– Right-click on the Start button or press the X key while holding the Windows key.
– Select “Windows PowerShell” from the context menu.
Step 2: Enter the Shutdown Timer Command:
In either Command Prompt or PowerShell, type in the following command:
shutdown -s – t TIME
Replace “TIME” with the number of seconds before your computer should shut down. For example, if you want to set a shutdown timer for one hour from now, you can use:
shutdown -s -t 3600
(The time is calculated in seconds which means an hour is 3600 seconds.)
Once you enter and execute this command, a pop-up notification will appear, informing you that a shutdown has been scheduled.
Step 3: Cancel or Modify the Shutdown Timer (Optional):
If you need to cancel or adjust the timer at any point before it runs out, follow these steps:
1. Open Command Prompt or PowerShell again, using one of the methods mentioned earlier.
2. To cancel the scheduled shutdown, enter the following command:
3. If you want to modify the timer, just input the original command (shutdown -s -t TIME) with a new value in place of “TIME”. This will overwrite the previous timer.
Setting a shutdown timer on your Windows desktop is an excellent way to conserve energy and prevent your PC from running unnecessarily when you’re not using it. Using Command Prompt or PowerShell for this task is a simple and effective method that can save you time and effort. So give it a try, and set those timers for increased efficiency and peace of mind.