Sometimes users perform very long tasks on their computers that do not require human presence, for example, rendering a big video or downloading a large game. If you do not want or cannot sit at your PC for several hours, you can schedule Windows 10 shutdown and leave. Your PC will start counting down the specified time and then automatically turn itself off.
Many third-party apps allow you to schedule Windows 10 shutdown. But the truth is that you do not need any of them. The operating system in your computer has built-in instruments for scheduling shutdown, log-out, or restart. This article will tell you how to schedule Windows 10 shutdown without third-party apps.
Schedule Windows 10 Shutdown
Again, you do not need additional apps nor a user with Administrator privileges. All that is needed is a simple command and the Run dialog box. To turn off Windows PC on a timer, do the following:
- Press the Win + R shortcut on your keyboard to launch the Run dialog box.
- In a new window, enter shutdown -s -t XXX. Replace XXX with the time specified in seconds.
- Press Ok to execute the command. Windows will show you notification about the upcoming shutdown.
Here is the example of the schedule Windows 10 shutdown command:
shutdown -s -t 600
It means Windows 10 will automatically turn itself off in 10 minutes or 600 seconds.
Do note that some open apps may prevent your PC from shutting down. If you want to override these apps, add the -f argument to the command:
shutdown -s -f -t 600
To cancel the scheduled Windows 10 shutdown, execute the following command:
Schedule Windows 10 Shutdown: Better Option
You can automate shutting down Windows 10 on a timer and make it more interactive using a simple bat file. Every time you launch this file to schedule Windows 10 shutdown, Command Prompt will ask you when to turn your PC off.
Open Notepad and enter the following text:
echo off cls set /p timer_shutdown="Enter time in seconds: " shutdown -s -t %timer_shutdown%
In case you want to force close all apps when Windows 10 shuts down on the timer, use the following code:
echo off cls set /p timer_shutdown="Enter time in seconds: " shutdown -s -f -t %timer_shutdown%
Save the file and rename its extension from txt to bat.
When you need to schedule Windows 10 shutdown, launch the newly created file and enter the desired period. This method will eliminate the need to open the Run dialog box and enter the command manually.
- How to Setup Gmail in Outlook? - October 14, 2021
- How to Clear Browsing History in Safari on iPhone/iPad? - October 11, 2021
- Allow Non-administrators to Install Printer Drivers via GPO - October 1, 2021