Automatically turn off computer every day?
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
Automatically turn off computer every day?
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
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
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.
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
-Thomas Jefferson
- Dragon_Cooler
- Legit Extremist
- Posts: 2405
- Joined: Wed Oct 12, 2005 10:17 am
- Location: DFW Texas
- Contact:
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
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!!
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
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
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
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
cool. it is done. i will let you know how it works tomorrow.
Thanks!
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
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
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!!
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
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
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
-Thomas Jefferson
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
Re: Automatically turn off computer every day?
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?
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
Re: Automatically turn off computer every day?
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
Dan
- stev
- Legit Extremist
- Posts: 1507
- Joined: Thu Feb 16, 2006 7:29 am
- Location: Nashville, TN suburbs
- Contact:
Re: Automatically turn off computer every day?
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/ ... =&u=303718
http://www.eff.org - Electronic Frontier Foundation - working to protect your digital rights
My Stats http://folding.extremeoverclocking.com/ ... =&u=303718
http://www.eff.org - Electronic Frontier Foundation - working to protect your digital rights
- bigblockmatt
- Legit Extremist
- Posts: 1341
- Joined: Mon Oct 11, 2004 12:01 am
- Location: California
Re: Automatically turn off computer every day?
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
- DaIceMan
- Legit Extremist
- Posts: 1599
- Joined: Tue Jul 18, 2006 10:31 pm
- Location: Springfield-ish, Missouri
Re: Automatically turn off computer every day?
might set this up on my own machine... maybe then I would get to bed at a reasonable hour. haha, no.stev wrote:This is really neat, I'll have to try this too on the DW's emachine.
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!
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!
-
- Legit User
- Posts: 5
- Joined: Mon Aug 06, 2007 2:45 am
Re: Automatically turn off computer every day?
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"
If you want to cancel, just input "shutdown -a"
Re: Automatically turn off computer every day?
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.