Auto Shutdown PC

METHOD # 1

Step 1:
Right click on your desktop and choose "New=>shortcuts".

Step 2
:
In the box that says "Type the location of the shortcut",
type in "shutdown -s -t 3600" without the quotation marks and click next.

Note: 3600 are the amount of seconds before your computer shuts down. So , 60secs*60mins=3600secs.

Step 3:
Make up a name for the shortcut and you're done.

To abort:

To make an abort key to stop the shutdown timer just create another shortcut and make
the "location of the shortcut" to " shutdown -a" without the quotes.


METHOD # 2

Here is another trick to shutdown at a specific time, for example you wish to shutdown at 11:35am. Type this in
start=>Run => cmd

Type : at 11:35 shutdown -s

to abort :

Type : shutdown -a


METHOD # 3

You can use a batch for that as well it makes it easier to use just run the batch and enter the time you want it to shutdown

Open Notepad and type the following code and name it as shutdown.bat

@echo off
title Scheduled Shutdown Batch Example by chacha1234
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

also you can add -c "desired message" at the end of the shutdown command
for example
shutdown -s -t 60 -c "Shutdown PC"

using this command u can also schedule ur pc to restart
for example
shutdown -r -t 60 -c "Restarting PC"

No comments:

Post a Comment