Windows Tutorials

How to Schedule Windows Automatic Shutdown Through Command Prompt

In this guide you will learn how to schedule Windows Automatic Shutdown through Command prompt

You can use at command to schedule shutdown. You need to specify the exact time the command should run at.

For example if the current time is 2 pm and you want to shutdown after 1.5 hours.

Command:

at 03:30:00PM shutdown -s

Now you can exit the command prompt, but if the the command is scheduled with ‘sleep’ you need to keep the window open.

For example:

sleep 7000; shutdown -s

It will sleep for 7000 seconds and after that will shutdown the computer.

Last Updated on