Do you know that you can make your PC shutdown at a time u wish to? I always needed something which can switch off my PC, when I have to go out and I have some important downloads running. But these sweet tricks I have found works like a charm .

Remember, always make sure you that make a backup before trying any of such tricks.

Now, moving on back to the topic…

Method 1

Right-click anywhere on your desktop and make a new shortcut by navigating to New > Shortcut. Now in the location text box, type “shutdown -s -t 3600” (without the quotes).

NOTE: 3600 is the number of seconds after which the computer shuts down.

  • For PC to shut down after 30 minutes, use 1800
  • For PC to shut down after 1 hour, use 3600
  • For PC to shut down after 1 hour 30 minutes, use 5400
  • For PC to shut down after 2 hour, use 7200

I’m sure, you can count the rest .

So moving on to the next step, type a name for the shortcut and you are done! You can choose a nice icon for the shortcut you just made later on.

Method 2

Now if you don’t want a shortcut on your desktop, then alternatively, you can use this.

Go to Start > Run and type “at 22:23 shutdown -s” (without the quotes).

And later on, if you plan not to shutdown your PC at the specified time, then again open Run and type “shutdown -a” (without the quotes).

NOTE: Times used in this method should be in 24hr format.

Method 3

You can also use a batch file to shut down your PC at a specified time. Just copy the code below into your Notepad and save it as shutdown.bat anywhere in your PC.


@echo off
title Scheduled Shutdown Batch Example by Haris
color A
echo Enter Time To Shutdown (example 19:30)
set /p stime=
cls
at %stime% ""shutdown -s -t 00"" >nul
echo Your PC Will Auto Shutdown At %stime%
echo Press Any Key To Exit
pause >nul
exit

If you want to schedule your PC to automatically restart, then replace shutdown -s -t 00 with shutdown -r -t 60 -c. That’s it!

Thanks a lot for reading and have a nice day.