Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to make Windows 7 do this: "10 minutes from now, close all applications and shut down (or hibernate), no matter what input you get from the keyboard or the mouse"? It's OK if the user can revert the shutdown order during the 10 minute period, but once the shutdown begins there should be no turning back.

share|improve this question
add comment

4 Answers

up vote 5 down vote accepted

The shutdown command line command is what you're after, with /t 600 you'll get a 600 second (10 minute) delay other options define the shutdown process. In your case I suspect you'll want shutdown /t 600 /s.

share|improve this answer
    
some apps MIGHT stop shutdown. notepad comes to mind. –  Journeyman Geek Apr 2 '11 at 14:17
    
@The Geek: It's not Notepad itself but the "Do you want to save?" dialog box. This is, AFAIK, common to all programs and does make sense. However, 1) IIRC, Windows 7 does not allow programs to stop shutdowns like that anymore; 2) shutdown /f –  grawity Apr 2 '11 at 17:06
add comment

As Havok stated, you can just use the Shutdown switch from command prompt. See options below. enter image description here

Run from cmd.exe or just put into a .bat script as below (and you could just add this .bat to Windows scheduler if you wanted to schedule) - remove the "pause" if you want it to run straight away:

@cd /
@cls
@echo #Shutdown 10min script#
@pause
@shutdown /t 600 /s
share|improve this answer
    
you can use command > foo.txt to direct output to a text file for easy and pasting –  Journeyman Geek Apr 2 '11 at 14:16
    
Agreed, but for some reason came out garbled hence pic ;-) –  James Apr 2 '11 at 14:22
    
Wrap it in <pre> </pre> tags. –  grawity Apr 2 '11 at 17:04
add comment

There are a number of automatical shutdown programs on the net. You can use one of them; for example: Sweet Dreams.

enter image description here

share|improve this answer
add comment

Though there is no such sort of functionality in Windows 7 but you can use other softwares to do the functionality.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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