By using this site, you agree to the Privacy Policy and Terms of Use.
Accept

Meshpie

DailyTech

  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Search
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.
Reading: How to Schedule an Automatic Shutdown on Windows 10
Share
Aa
MeshpieMeshpie
Aa
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Search
  • Home
  • Tech
  • Gaming
  • Blogging
  • Reviews
Follow US
© 2022 Foxiz News Network. Ruby Design Company. All Rights Reserved.

Home > How to > How to Schedule an Automatic Shutdown on Windows 10

How toComputer

How to Schedule an Automatic Shutdown on Windows 10

Aksara
Last updated: 2020/05/30 at 3:08 AM
Aksara
Share
SHARE

If you’ve even used a computer before, you know that they don’t automatically shut down after a period of inactivity, they just go to sleep. Depending on your BIOS Sleep state, your computer might use lesser power but this still means that it is consuming power which can be a problem for laptops. In this article let’s look at 5 different methods of how you can schedule an automatic shutdown on your computer.

Contents
Method 1: Automatic Shutdown via RunMethod 2: Automatic Shutdown via Command PromptMethod 3: Automatic Shutdown via PowerShellMethod 4: Automatic Shutdown via Task SchedulerMethod 4: Automatic Shutdown via Timeout Script

If you don’t want to leave your PC powered on and want to conserve power then you can take advantage of the AutoShutdown feature on Windows 10.

Method 1: Automatic Shutdown via Run

Step 1: Hold the “Windows + R” together, this should open up the Run prompt, alternatively, you can search for the Run prompt through Windows Search.
Step 2: You should now be prompted with the run program. Type shutdown -s -t <seconds> and click “ok”.

Now if you want to turn off your computer in 5 minutes you can set the seconds to 300.

- Advertisement -

Automatic Shutdown via Run

Automatic Shutdown via Run

Note: If you were wondering how to cancel this task then you can do it quite easily.

Step 1: Open the Command Prompt, Run or Powershell, and type the command shutdown -a and press enter.

shutdown stop

shutdown stop

Step 2: This should now cancel the shutdown task and a prompt will appear in your notifications.

- Advertisement -

Step 3: Windows should now confirm the executed command by prompting you with a notification with the time remaining for the shutdown.

Method 2: Automatic Shutdown via Command Prompt

Step 1: Press on the Windows icon on the bottom left of your screen, now type “cmd” to open the command prompt and click run as administrator.

Step 2: You should now see the command prompt open up, type shutdown -s -t <seconds> and press enter.

Now if you want to automatically shut down your computer in 10 minutes you can set the seconds to 600.

- Advertisement -

shutdown cmd

shutdown cmd

Step 3: Windows should now confirm the executed command by prompting you with a notification with the time remaining for the shutdown.

Method 3: Automatic Shutdown via PowerShell

Step 1: Press on the Windows icon on the bottom left of your screen, now type “Powershell” to open the command prompt and click run as administrator.

Step 2: You should now see the Powershell window open up, type shutdown -s -t <seconds> and press enter.

Now if you want to automatically shut down your computer in 10 minutes you can set the seconds to 600.

shutdown powershell

shutdown powershell

Step 3: Windows should now confirm the executed command by prompting you with a notification with the time remaining for the shutdown.

Method 4: Automatic Shutdown via Task Scheduler

Step 1: Press on the Windows icon on the bottom left of your screen, now type “Task Scheduler” to open the Task Scheduler and click run as administrator.

Task scheduler

Task scheduler

Step 2: Once the Task scheduler opens, in the Actions tab click on Create Task to create a new task.

Step 3: Type any name you like and check the Run with highest privileges check box and make sure it is Configured for Windows 10.

Step 4: Open the Triggers tab and click on New to create a new task.

Step 5: Change the begin the task option to On a schedule, depending on your task you can choose your frequency, for the demonstration purposes of this article we are going to go with One Time, Finally set the Date and Time of the shutdown and click on the Enabled checkbox and press Ok.

Step 6: You should now see the trigger created. Now switch to the Actions tab.

Step 7: Click on New to create a new action. This will map the action to do according to the trigger.

Actions

Actions

Step 8: Click on Browse to select the program/script. Type shutdown in the search bar. Once selected click on open. If you are unable to find it just copy this “C:\Windows\System32\shutdown.exe”.

shutdown

shutdown

Step 9: Click on the Add arguments (optional) text field, and type “-s” and click on OK.

Actions complete

Actions complete

Step 10: You should now see the action created. Now switch to the Conditions tab. This is optional but if you want to fine-tune your shutdown settings.

Step 10: Now switch to the Settings tab and check the “Allow task to be run on demand” checkbox to run the task manually. Click ok to finalize all changes.

Automatic shutdown

Automatic shutdown

Step 11: Switch to the Task Scheduler Library and find the task you created. Right-click on your task and click Run. Now the status of your task will change from Ready to Running and your computer will automatically shut down when the conditions are satisfied.

Method 4: Automatic Shutdown via Timeout Script

Step 1: Right-click on your desktop and create a new text document.

Step 2: Paste the code below into your text document. Here we will be using the 24-hour standard, Replace the “22:00” with the time you desire.

 @echo off
 :W
 timeout /t 30 /nobreak
 echo %time% |find "22:00" >nul || goto :W

 shutdown.exe /s /f /t 60 /c "Sleepy Time!"

Special thanks to @foxidrive on StackOverflow for this!

Step 2: Press “Ctrl+Shift+S”, a prompt should appear. Now name the file anything you like and change the extension at the end to (.bat). Finally, change the Save as type to “All documents” and click on Save.

Step 3: Now run the .bat file and keep it running in the background when the time is right your computer will automatically shut down! If you would like to stop this, you can just close the command prompt.

Now you know how to schedule an Automatic Shutdown on your Windows 10 PC. If you have any queries or have a topic to suggest please leave them in the comments below!

#TeamMeshpie

You Might Also Like

Why don’t I have the My AI on snapchat

How to Fix “S.mzstatic.com Error”

How to fix ‘A system error has occurred’ on a Vanilla gift card?

How to Activate Windows 10 using Command Prompt

How to fix the Crunchyroll error code Shak 1002?

TAGGED: automatic shutdown, command prompt, powershell, run, Windows 10
Share This Article
Facebook Twitter Copy Link Print
By Aksara
Follow:
A digital marketer by profession who enjoys sharing his knowledge of technology through his work. His enthusiasm for sharing his knowledge knows no bounds. He revels in creating engaging content that demystifies complex tech concepts, making them accessible and enjoyable for all.
Previous Article youtube-chapters Youtube Chapters Gets An Official Release
Next Article apple-sign-in Huge Apple Sign-In Bug Found By Indian Developer; Rewarded $100,000
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

MeshpieMeshpie
Follow US
© 2023 MeshPie. All Rights Reserved.
  • Home
  • News