Shutdown computer automatically

Status
Not open for further replies.

jampatana

Right off the assembly line
How i can create a file that make my computer shutdown automatically after one hour when i start it?. plz post your answer at edit: no email links please - mehul
 
Last edited by a moderator:

ayush_chh

Ambassador of Buzz
i don't know the ans 2 ur Q...........but u can use a S/w to get ur job done.......try WINOFF it's a freeware...:)
 

arif_wasim

Right off the assembly line
Hi jampatana,
u can use the inbuild windows command to do the job.
1) Open notepad.
2) type "shutdown -s -f -t 60"
3) Save the notapad by any name.bat (e,g, XXXX.bat)
4) Go to scheduled tasks in control panel & add a new scheduled task, on the second prompt, click browse and located the XXXX.bat file.
5) follow the wizard and configure it to run at the time u need to shutdown ur system.
For any clarifications get back to me.

ALL THE BEST
 

Cool Surfer

Broken In
pathiks said:
switchoff ..its freeware

I too use switch off. Its free and cool.

I many a times leave my pc to work while i am gone for work.
And after 2-3 hrs the pc switches off automatically.
 

arif_wasim

Right off the assembly line
Hi bro which OS u r using ?
u can use the command on windows 2000 or onwards.
don't make it complex. Simply copy the following command and paste it in notepad. Save the notepad by XXXX.bat (any name.bat).

shutdown -s -f -t 60

(-s = shutdown
-f = forces any running application to close
-t = time to be displayed in seconds before the computer shuts down.)

then add this file in scheduled tasks and that is all.
U can also test the file before adding it in scheduled tasks, by simply double clicking on the .bat file. As you double click on this file, u will get a count down timer, notifing u that the system will be shut down in XX seconds. To abort the shutdown type

shutdown -a

(-a = abort shutdown)

in Start > Run

or go to START > RUN and type shutdown -s -t 60. If this command works thr, then definitely it will run in scheduld tasks. If not then tell me and i will send u the sample batch file.
U can save this batch file on any location on ur HDD.
I use this command to turn off remote computers on LAN & WAN, and use the same for scheduled shutdown of my office PC's. So thr is no doubt about its working.
All u need is strong determination & nothing can stop u by doing anything.
 
Status
Not open for further replies.
Top Bottom