How would you go about turning you computer after a specified amount of time?

I listen music before I go to sleep and would like to be able to shutdown my computer after a specified amount of time. After 1/2 an hour say.

It would be cool if you could connect a desktop shortcut to a task in scheduler so you click the shortcut and 1/2 an hour later it shuts down.

Windows 7.

link|improve this question

50% accept rate
feedback

5 Answers

up vote 4 down vote accepted

Without 3rd party software:

http://www.techiesouls.com/2009/05/15/how-to-schedule-computer-shutdown-after-specific-period-of-time/

Software: TimeComX.

Following actions are available:

  • Restart
  • Shutdown
  • Log Off
  • Lock Computer
  • Hibernation & Suspend Mode
  • Turn off the monitor
  • Wake up & play an alarm sounds
  • Play any type of audio-file (mp3,ogg,wma,wav..)
  • Open files ( e.g. batch files ) or URL's
  • Create Screenshots before an action

alt text

Have used myself, highly recommend...it simply works!

link|improve this answer
feedback

Create a batch file, and put this code in it after the @echo off line:

shutdown -s -t 1800

The computer will shutdown 30 minutes (1800 seconds) after running the batch file.

To cancel a shutdown initiated by that batch file, you can go to start > run and type:

shutdown -a

Or put that in its own separate batch file, then run it to cancel a shutdown.

link|improve this answer
feedback

Goto Control Panel -> Power Options -> "Change Plan Settings" and change the "Put the computer to sleep after" option to whatever you want.

link|improve this answer
That is a bit long winded.can you think of something that is more automatic. Like a simple click of a desktop icon an my computer shuts down in 1/2 an hour. – andrew Nov 27 '10 at 5:09
and that only puts the computer to sleep. I want to shut down the computer. – andrew Nov 27 '10 at 5:11
Well that setting is automatic -- once you set it one time, say to one hour, the system will then automatically go to sleep within an hour of your computer going idle (you don't have to run through the steps again). But yes, that will only let you put the PC to sleep. To shut it down, you would need to use a different program (like the one suggested below). – Jeevan Nov 27 '10 at 5:15
feedback

Shutdown (Power off) or Reboot a Remote Computer from Powershell – LanToolbox

The PowerShell Shutdown Command is Stop-Computer | Down a remote computer

… and so on. You can script with PowerShell. It is installed on every Windows 7 PC.

link|improve this answer
feedback

Shutdown Timer can do this for you, the free version meets your requirements.

enter image description here

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.