Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had many programs opened and was typing a message in my web browser and suddenly a window asking me something popped up. I think I was in the middle of typing the word "for" but whatever button I hit seemed to be the confirmation to shutdown the computer. Is there a way to find which program caused this and prevent it in the future? I have a hunch it was JDownloaders fault.

I'm using Windows 7.

share|improve this question
What OS are you using? – Indrek Oct 8 '12 at 20:13
It would be helpful if you tell us what operating system you are using. FreeBSD? Windows 7? Gentoo Linux? Haiku OS? – Sampo Sarrala Oct 8 '12 at 20:13

You could try examining the logs around the time of shut down and see if you can spot anything.

To figure out when your PC was last shut down, you can simply open up Event Viewer, head into the Windows Logs -> System log, and then filter by Event ID 6006, which indicates that the event log service was shut down—one of the last things that happens before a shutdown.

You might be able to see what did it, though I'm not sure if such things are logged.

As an aside it is sometimes possible to abort a shutdown with (from the commandline)

shutdown -a

(but you have to be quick)

share|improve this answer

You may (depending on your distro) be able to see some form of log in /var/log/{messages,system} or, if as you suspect it was an app of yours running in the background that did it, in your ~/.xsession-errors.

But as a generic rule such events don't get logged.

share|improve this answer
Good luck with your guess ;o) About OS... – Sampo Sarrala Oct 8 '12 at 20:09
OP specified he's using Windows 7, so the advice in this answer isn't really applicable. – Indrek Oct 8 '12 at 20:30
True that. But he specified that after my post. – tink Oct 8 '12 at 22:33

Your Answer


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.