1

Is there any tool (free and virus free) that does an auto shutdown (force) for Windows Vista?

I'm looking to play some songs while I go to sleep and after some time will need the system to shut down automatically.

5 Answers 5

7

Sweet Dreams is a tiny shut down timer for your computer. All you need to do is select the duration between 5 and 120 minutes, and the action to be performed: shut down, switch off monitor, standby mode when the time is up. During this time the volume level is being reduced down to a selected level... "Sweet dreams!"

alt text

Sweet Dreams is freeware and portable. (using the actual version 1.21 in Windows Vista/7 requires "compatibility mode for XP")

Strange, version 1.1 works fine without compatibility mode in Windows 7, probably because it doesn't feature hibernate/standby, just shut down (which suits me fine).

alt text

Here's a direct download link for Sweet Dreams v 1.1.

6
  • this is not vista comptatiable
    – joe
    Commented Nov 11, 2009 at 0:00
  • excuse me??? "Windows All" ... don't have a vista machine here, but it works fine with Windows 7.
    – Molly7244
    Commented Nov 11, 2009 at 0:01
  • check this error : yfrog.com/04errorioj
    – joe
    Commented Nov 11, 2009 at 0:10
  • hmm ... maybe the difference is v1.1 (the version i'm using for years) and v1.2, but they definitely claim ALL Windows versions.
    – Molly7244
    Commented Nov 11, 2009 at 0:19
  • indeed, version 1.21 requires compatibility mode in Vista/7 ... while 1.1 works flawless. guess what? i'll stick to version 1.1 :D
    – Molly7244
    Commented Nov 11, 2009 at 0:32
6

We can write a batch file that performs forced shutdown. For example, to shutdown the computer after 1 hour:

shutdown /s /t 3600

Vista & XP allows time before shutdown to be specified upto 10 minutes whereas Windows 7 supports shutdown time to be maximum of 10 years.

Either /t option or Windows Task scheduler could be used to schedule the trigger of above batch file. But tough part is that scheduling needs to be done manually (not an issue if the machine shutdown time is fixed).

4
  • 1
    10 years??? bloody optimists" :D +1
    – Molly7244
    Commented Nov 11, 2009 at 1:43
  • 2
    XP does not have the 10 minute limit.
    – Joseph
    Commented Nov 11, 2009 at 1:45
  • 2
    Agreed. Why install yet another (apparently buggy) app to do what is already available in the OS?
    – raven
    Commented Nov 11, 2009 at 3:34
  • 'apparently', someone didn't read my post properly, nothing 'buggy' about 'compatibility mode' ... and since this 'app' is portable, there's nothing to 'install' either. :)
    – Molly7244
    Commented Nov 11, 2009 at 11:43
1

Sweet Dreams definitely seems like a useful program. However, I don't see how the "Power Options" in the control panel would accomplish this simple task?

You can tell Windows to go to "sleep" after a period of time, which draws a little more power than if it was off, but way less than if it is on. Or you can even set hibernation time.

1
  • Gotta agree with this also. Why does the machine have to be completely off? You can turn it off when you wake up. Is the fraction of a penny's worth of electricity that important?
    – raven
    Commented Nov 11, 2009 at 3:38
0

Simply, Windows has Task Scheduler. You can schedule a task at the time you want to shutdown your computer.

0
'===============================================================================
'Launches "shutdown.exe /s /t xxx" - This script is a workaround...
'... for the 600 seconds time-out limit in Vista.
'Created on March 30, 2007
'Copyright © 2007 Ramesh Srinivasan.
'Winhelponline.com - http://www.winhelponline.com

Set objShell = CreateObject("Wscript.Shell")
strMsg = "Enter the shutdown timeout period (in Seconds) Default 600; 60m=3600s;90m=5400s; 120m=7200s; 3h=10800s; 4h=14400"
iSec = trim(InputBox (strMsg,"Shutdown timeout value ",5400))
if iSec = "" then wscript.quit
if iSec > 600 then
     iSleep = int(iSec) - 600
     iSleep = iSleep * 1000
     WScript.Sleep iSleep
     objShell.Run "shutdown.exe /r /t 600"
else
     objShell.Run "shutdown.exe /r /t " & iSec
end If
'===============================================================================

NOTE: copy and paste the above code and save as TURNOFF.VBS
Run this script to schedule a computer shutdown. You can also hardcode an iSec value of your own, in seconds.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .