In this article, we will show you how shut down Windows 11/10 PC at scheduled time using command prompt. You can enter a time of your choice and run the command using CMD or the command prompt window. After that, the Windows operating system will take care of the rest. At the scheduled time, it will automatically shut down your PC or laptop. You can also cancel the scheduled shutdown whenever necessary.
Scheduled shutdown can be useful when you need to leave your PC/laptop for some reason, but cannot shut it down until some work (like download) is in progress. In this case, you can simply set a timer so that Windows can shut down the PC at the selected time. Although you can use Windows Task Scheduler to schedule the shutdown, Command Prompt method is another option you can try which is easier.
archyde news
In the image above, you can see a message appear indicating that the shutdown is scheduled for the time entered.
Schedule Shutdown in Windows 11/10
You can schedule automatic shutdown in Windows 11/10 using Command Prompt by following these steps:
- Launch command prompt
- Enter the command and run
- Close shutdown message
- Abort stop.
This basic step requires a CMD window. Just type cmd in Execute command (Win + R) or Search bar and press Enter.
After opening the CMD window, type and run the following command:
Shutdown -s -t yyyy
Replace yyyy
with numbers like 500 or 3600 or whatever. Here, yyyy
is in seconds. So if you entered 60, it just means 60 seconds or 1 minute.
You will now see a message that Windows will shut down at the time you set. You can close this message.
You should repeat the above steps each time you need to schedule an automatic shutdown for the next time.
Lis: shutdown options in command prompt.
Canceling a scheduled automatic shutdown
You can also cancel a scheduled shutdown. If a shutdown is already scheduled, you cannot add another shutdown timer. In this case, you must cancel the scheduled shutdown.
To cancel or abort the shutdown, simply run this command:
Shutdown -a
That’s all.
There are free third-party tools for scheduling shutdown also available, but using the command prompt is a very simple and built-in option.