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.

I plays songs and I want to force the computer to sleep after 15 minutes. If I'm playing a song the default sleep when Idle after x minutes does not work. Is it possible to force the computer to sleep, even if not idle?

PS: I Already tried this.

share|improve this question

1 Answer 1

Open cmd, and type shutdown -s -f -t 900
-s means shutdown, -f means force shutdown, -t means timer, and 900 means 900 seconds

To cancel the shutdown, type shutdown -a (-a means abort shutdown)

share|improve this answer

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.