How to Schedule the PC Shut-Down with Built-In Tools
As we have already mentioned in the previous article How to Schedule the PC Shut-Down with Third Party Programs it would be lovely to have a tool to distantly control your PC. Especially when you leave your home in a hurry and forget the desktop running.
Or when your kid spends too much time gaming and you want to set the time limits to this. The problem with the third-party software is that any PC educated kid can easily spot it on the disk and delete or unload it.
The Windows 10 developers have foreseen this and suggest you some build-in tools to solve the problem. They installed two timers into Windows 10. You can set the shut-down timer via the Command Prompt or Task Scheduler. With our guidelines you’ll see that this is no rocket science. It takes more time though but these timers are harder to trace down which can be critical for your goal.
Click Start and type “cmd” into the search box. Or wake up Cortana by clicking/tapping on the microphone icon in Cortana’s search field and say Launch Command Prompt.
Right-click the result and then click Run as Administrator. Or highlight the result with the arrow keys and then press Ctrl+Shift+Enter. The admin mode will let you to fully use the Command Prompt. It won’t obey some commands from general user.
If you want to feel like a cool hacker, press Win Key + R and type cmd into the box that’ll show up. Then press OK and here you go.
Now you have to type in the shutdown timer command. It goes: shutdown -s -t XXXX. Remember to copy the line with all the blank spaces, they are also important! The “XXXX” is the time in SECONDS to elapse before the computer shuts down. So, you’ll need a calculator as well. One hour makes 3600 seconds, two hours – 7200.
You can also set down the restart timer and you can abolish the timer altogether. Let me list the commands for you.
- shutdown -s -t XXXX will shut down your PC in XXXX seconds.
- shutdown -r -t XXXX will restart your PC in XXXX seconds.
- shutdown –a will abolish your timer.
The disadvantage if this method is that you have to type in the command every time you need to start your timer. Here what the shortcuts are meant for. Create a shortcut and all you’ll have to do is to double-click it.
To create the shortcut, do the following:
- Right-click on the desktop, hover over New and select Shortcut in the side drop menu.
- In the path field type “shutdown -s -t XXXX” and click Next.
- Enter a name for the shortcut (for example, Shutdown 2 Hours) and click Finish.
To change the timer’s time, right-click the icon, select Properties and change the numbers XXXX to YYYY in the path field. Save the changes.
If you don’t feel right with the Command Prompt and look for more friendly looking interface, Task Scheduler is the answer. Click the Start button, type “schedule” into the empty box and select Schedule tasks from the results. It can also be found via Search.
Found? Let’s open it and do the following:
Tap Create Basic Task on the right.
Type Shutdown as the task name and click Next.
Choose when the task starts from Daily, Weekly, Monthly, One time, When the computer starts, When I log on and When a specific event is logged. Then hit Next.
Set the start time of the task and click Next.
Click the Browse button, open Disk C/Windows/System32, choose the exe file named shutdown and hit Open.
Enter –s as the argument and click Next.
Click Finish to complete the task creation and bring the task into effect.