http://linkedin.com/in/mominbd

Popular Posts

Shutdown, restart, or hibernate your computer on a schedule

Step 1: Create a batch file


Picture of Create a batch file

notepad.JPG

First, you must create a batch file (.bat) to be executed. Open notepad (all programs\ accessories). Type in exactly as I dictate:

For shutdown:

c:\windows\system32\shutdown -s -f -t 00                  (or do ...shutdown -p -f)

For restart:

c:\windows\system32\shutdown -r -t 00

For hibernate:

c:\windows\system32\shutdown /h

Save it anywhere you like as shutdown (or whichever accordingly) .bat so it would be "shutdown.bat" for example.
DO NOT save as a -.bat.txt, you are then merely saving text.

Step 2: Schedule it


Picture of Schedule it

create basic.JPG
browse batch.JPG

trigger daily.JPG
trigger daily specific.JPG
action start program.JPG

start program specific.JPG

finish task.JPG
In Windows Vista or 7 search "task"; Task Scheduler should be at the top of the list. Open it. Click "create basic task". Type in the name you want to call it and a description if you like. Specify when you want it to start. Specify date, time, and recurrence. Choose an action (start a program). Browse for the batch file. At the end, view over it to make sure it is exactly what you want, and click finish. At the task manager main menu, you will have to refresh the list at the bottom for your new batch file to appear (this is optional, it will take affect either way). It is best for the computer to restart to take affect.

Windows XP users and older with have a slightly different process. See next step.

Step 3: Schedule it for XP and older


Picture of Schedule it for XP and older

howto xp.JPG
sheduled tasks xp.JPG

dailyxp.JPG
select programxp.JPG
daily specificxp.JPG

userpassxp.JPG

finishxp.JPG
For computers running XP and older, follow these steps. First, open Scheduled Tasks (all programs\accessories\system tools\scheduled tasks). Add Scheduled Task; a wizard comes up. Select the batch file. Choose the conditions under which this task will perform. Give specific date, time, and recurrence. If you use a password enter it. Finish it.
0 Comments "Shutdown, restart, or hibernate your computer on a schedule"

Back To Top