Automatically turn off computer every day?

Anything and everything software related that doesn't fit above can go in here!

Automatically turn off computer every day?

Postby bigblockmatt » Sun Jun 24, 2007 10:54 pm

How can i get my computer to automatically turn off at a certain time every night? i have computer in my living room and doesnt need to be on all the time but my room mates dont turn it off. I want to set something so that it will turn off every night at say 1 am.

Thanks
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Postby bubba » Mon Jun 25, 2007 5:48 am

1. Click Start, and then click Control Panel.
2. Click click Scheduled Tasks.
3. Double-click Add Scheduled Task. The Scheduled Task Wizard starts.
4. Click Next.
5. Under Click the program you want Windows to run, click Browse.
6. In the Select Program to Schedule dialog box, locate the %SystemRoot%\System32 folder, locate and click the Shutdown.exe file, and then click Open.
7. Under Perform this task, specify a name for the task and how frequently you want this task to run, and then click Next.
8. Under Select the time and day you want this task to start, specify a start time and date for the task, and then click Next.
9. Type the user name and password to run this task under, and then click Next.
10. Click to select the Open advanced properties for this task when I click Finish check box, and then click Finish.
11. Click the Task tab.
12. In the Run box, specify any additional parameters that you want to use with Shutdown.exe. In the run line add the switches after the exe, -s to shutdown and -r to reboot.
13. Click OK.

when the machine goes to reboot there will be a message pop up to warn anyone using the machine at that time they have 30 seconds to save their stuff.


edited: added in the switches (forgot) and the note about the shutdown warning.
Last edited by bubba on Thu Jun 28, 2007 5:51 am, edited 2 times in total.
"The democracy will cease to exist when you take away from those who are willing to work and give to those who would not."
-Thomas Jefferson
User avatar
bubba
Staff Writer
Staff Writer
 
Posts: 4551
Joined: Sun May 01, 2005 10:24 am
Location: STL

Postby kappage » Mon Jun 25, 2007 6:54 am

Could always make a batch file
Main Rig: C2D 6850 @ 3.0Ghz, 2Gb DDR2667Mhz @ 833Mhz 5-5-5-15 Timings , XFX xXx 8600GTS @ 730/2260 , Gigabyte Ga-945GCM-S2L
JukeBox: Currently in an Upgrade but im too lazy to do it at the moment
I² keepin it real
User avatar
kappage
Legit Extremist
Legit Extremist
 
Posts: 1358
Joined: Mon Aug 28, 2006 11:38 pm

Postby Dragon_Cooler » Mon Jun 25, 2007 9:50 am

or what bubba said, that is the best way.
Image
User avatar
Dragon_Cooler
Legit Extremist
Legit Extremist
 
Posts: 2405
Joined: Wed Oct 12, 2005 10:17 am
Location: DFW Texas

Postby DMB2000uk » Mon Jun 25, 2007 10:32 am

Bear in mind that you do need a password on the account for this to work, if you don't have one tell me, and I'll show you where you can set up XP to log in automatically without needing to manually enter your password every time.

Dan
Image (<- Clickable)
User avatar
DMB2000uk
Site Admin
Site Admin
 
Posts: 7095
Joined: Mon Jul 18, 2005 5:36 pm
Location: UK

Postby bigblockmatt » Mon Jun 25, 2007 7:51 pm

thanks Bubba. I did that.

As for a password that i wont have to type in every time??!?! if i need that, then please let me know how. the computer is a common computer that the whole house uses, but in an effort to save some $$ on the power bill, i would like it to get turned off.

Thanks guys!!
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Postby DMB2000uk » Tue Jun 26, 2007 3:44 am

The easiest way is through: TweakUI

Install that then go to login > autologon

Tick the box, set the username, and then click the set password box.

This will then allow the computer to start up without the need to put the password in when it boots up.

Dan
Image (<- Clickable)
User avatar
DMB2000uk
Site Admin
Site Admin
 
Posts: 7095
Joined: Mon Jul 18, 2005 5:36 pm
Location: UK

Postby bigblockmatt » Tue Jun 26, 2007 8:14 pm

cool. it is done. i will let you know how it works tomorrow.

Thanks!
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Postby bigblockmatt » Wed Jun 27, 2007 9:23 pm

well, the first time it didnt work. i did some looking and found out why. The file is NOT shutdown.exe it was tsshutdn.exe

It works now though, THANKS!!
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Postby bubba » Thu Jun 28, 2007 5:17 am

really, I have used the shutdown.exe before, weird..

EDIT

Ok, went digging to see why it didn't work. I forgot a switch

shutdown.exe -s to shutdown
shutdown.exe -r to reboot
Last edited by bubba on Thu Jun 28, 2007 5:22 am, edited 1 time in total.
"The democracy will cease to exist when you take away from those who are willing to work and give to those who would not."
-Thomas Jefferson
User avatar
bubba
Staff Writer
Staff Writer
 
Posts: 4551
Joined: Sun May 01, 2005 10:24 am
Location: STL

Postby DMB2000uk » Thu Jun 28, 2007 5:20 am

Does the shutdown.exe require switches like "/s" to do it?

Dan
Image (<- Clickable)
User avatar
DMB2000uk
Site Admin
Site Admin
 
Posts: 7095
Joined: Mon Jul 18, 2005 5:36 pm
Location: UK

Postby bubba » Thu Jun 28, 2007 5:53 am

you beat me before I could fix it, I edited the posts above for future reference just in case someone doesn't read the whole thread.
"The democracy will cease to exist when you take away from those who are willing to work and give to those who would not."
-Thomas Jefferson
User avatar
bubba
Staff Writer
Staff Writer
 
Posts: 4551
Joined: Sun May 01, 2005 10:24 am
Location: STL

Re: Automatically turn off computer every day?

Postby bigblockmatt » Wed Jul 04, 2007 10:11 am

I AM SO CLOSE!!!

It tries to shut do and it gets stuck at the blue windows screen" Windows is now shutting down" could this be because i am using tsshutdn.exe ??

****EDIT****

I changed it from the "tsshutdn" to "shutdown.exe -s" and it worked!!!

question, what do the "-s" thing doing? why do i need it?
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Re: Automatically turn off computer every day?

Postby DMB2000uk » Wed Jul 04, 2007 10:29 am

There are different switches that you can use, like restart, force shutdown etc. I'm not sure what the program tries to do without being told to shutdown ("-s").

Dan
Image (<- Clickable)
User avatar
DMB2000uk
Site Admin
Site Admin
 
Posts: 7095
Joined: Mon Jul 18, 2005 5:36 pm
Location: UK

Re: Automatically turn off computer every day?

Postby stev » Tue Jul 10, 2007 9:14 am

This is really neat, I'll have to try this too on the DW's emachine. :)
AMD X2 TK-57 1.90Ghz | F700 Quanta | PC2-5300 DDR2 2Gb | GeForce 7000M | DVDRAM GSA-T40N | HP LaserJet 1018
My Stats http://folding.extremeoverclocking.com/extra_page.php?s=&u=303718
Image
http://www.eff.org - Electronic Frontier Foundation - working to protect your digital rights
User avatar
stev
Legit Extremist
Legit Extremist
 
Posts: 1507
Joined: Thu Feb 16, 2006 7:29 am
Location: Nashville, TN suburbs

Re: Automatically turn off computer every day?

Postby bigblockmatt » Wed Jul 11, 2007 6:51 pm

yup, its been working great. I would love to leave it on and to fold but my utility bill hasnt been happy...
comp specs- too lazy to make a cool looking sig... MB:GIGABYTE GA-MA790XT-UD4P, AMD Phenom II X3 720 Black Edition 2.8Ghz, CORSAIR TW3X4G1333C9DHX 4GB PC3-10666, ASUS Radeon HD 4870 512MB, SB audigy gamer, WESTERN DIGITAL Caviar Black 500GB, antec P180 case (extra 120mm fan and 80mm fan), Corsair HX Series 620W: ASSEMBLED June 2009
Image
User avatar
bigblockmatt
Legit Extremist
Legit Extremist
 
Posts: 1341
Joined: Mon Oct 11, 2004 12:01 am
Location: California

Re: Automatically turn off computer every day?

Postby DaIceMan » Thu Jul 12, 2007 11:01 pm

stev wrote:This is really neat, I'll have to try this too on the DW's emachine. :)


might set this up on my own machine... maybe then I would get to bed at a reasonable hour. haha, no.
Gamer - Thermaltake Element S | PC Power & Cooling Silencer 750 Black | Gigabyte GA-EP45-DS3L | Intel E8400 | Arctic Cooling Freezer 7 Pro | 4GB OCZ Reaper Ram | XFX 8800GTX | Creative X-Fi XtremeGamer | Seagate 7200.10 320GB

HTPC / Folder - Palit 9600GT 1GB Sonic | AMD Phenom 9600 | Corsair DHX 4GB | ECS GF8200A | OCZ StealthXStream 500
Thanks to Palit, AMD, Corsair and ECS for sponsoring the 2008 Folding Give-away!

Image
User avatar
DaIceMan
Legit Extremist
Legit Extremist
 
Posts: 1599
Joined: Tue Jul 18, 2006 10:31 pm
Location: Springfield-ish, Missouri

Re: Automatically turn off computer every day?

Postby Libran_kevin » Fri Nov 02, 2007 1:48 am

start--> run--> input "shutdown -s -t 3600" and your computer will be shutdown in 3600 seconds.
If you want to cancel, just input "shutdown -a"
Libran_kevin
Legit User
Legit User
 
Posts: 5
Joined: Mon Aug 06, 2007 2:45 am

Re: Automatically turn off computer every day?

Postby cyclo » Fri Nov 02, 2007 6:45 am

Creating a shortcut on the desktop pointed to shutdown.exe with the appropriate switches is also an excellent way to turn off a PC controlled via Remote Desktop. In my case, I use the Wake up on LAN (WoL) feature to wake up a "headless" remote computer and the shutdown shortcut to turn it off.
cyclo
Legit Enthusiast
Legit Enthusiast
 
Posts: 34
Joined: Tue Sep 25, 2007 6:37 am


Return to General Software Programs

Who is online

Users browsing this forum: No registered users and 0 guests