Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Every 23 minutes in my system event log (Win 7) I see an error with event id 6008. It tells me "the previous system shutdown... was unexpected". When I work at the computer it doesn't happen so it must be something that happens during idle time.

The event immediately before (4 minutes before) is "The WinHTTP Web Proxy... entered the stopped state". The one before that is always "The Disk Defragmenter service entered the running state." Where can I find out if this service is being told to start every 23 minutes and how can I stop it (assuming this is the culprit)?

share|improve this question

Hard to tell, I think the events regarding Disk Defrag may be related, but could be read herrings. -

Press Windows Flag+Pause/Break, Click "Advanced System Settings" on the left, then click "Settings" under "Startup and Recovery" and make sure that "automatically restart on system failure" is disabled.

alt text

If you get a Blue Screen, post the error code here and we will help further.

If you do not get any Blue Screen, it means that it may be a heat / power issue or -

It could mean a bad hard drive and the Defrag is coming across a corrupt part of your hard drive, at that point it is causing the whole thing to fail - this could give a instant reboot without a fail code.

Also, it may be worth running a memory check on your system, just to rule it out.

Lastly, if it is EVERY 23 minutes, you may want to run a Linux live cd such as Ubuntu. If it does not fail within ~35 minutes, it could indicate a hard drive or another driver is causing you the problems.

share|improve this answer

That sounds similar to a problem I had on one of my computers running WinXP. I traced the problem to the "Zero Configuration Wireless" service that's supposed to find and automatically connect to the wireless network with best signal strength. The problem was if signal strength varied the service would often drop the service that was first connected and try to reconnect to another one. In some cases it didn't work that well and the computer would simply flash a blue screen and reboot every 15 minutes or so. I solved the problem by disabling the Zero Configuration Wireless service and instead always manually connected to wireless network I wanted.

I have no idea if this is your problem. But one thing to check is to see whether you get the same rebooting problem when you have your wireless network connection disabled.

share|improve this answer
up vote 2 down vote accepted

I disabled the defrag task in the task scheduler (even though the history shows no sign of failure) and so far today haven't seen any reboot even though the system has been idle. Will leave for another day or two then re-enable the task and see what happens.

Tried running defrag manually but it doesn't seem to do anything - just quits and I see no process running in task manager.

share|improve this answer

I'd suggest doing a BIOS update if one is available for your system. That eventid literally means that Windows has no idea why the machine was shutdown suddenly.

share|improve this answer
Bios update isn't always the best idea, event 6008 is simply created on the next startup, not at shutdown / blue screen. This event can even be caused by just unplugging and plugging it back in. Before updating the BIOS, I would recommend general fault finding such as I wrote in my answer.... Unlike drivers, BIOS updating should be a last ditch attempt when all else has failed. – William Hilsum Sep 21 '09 at 19:50

Just wanted to share that I too was having reboot when idle issues and have disabled the defrag service like Graeme and so far have had no further issues.

share|improve this answer
Welcome to Super User! On this Q&A site we value answers. Your post is not an answer, but a comment of the original question or answer. Please take this 2 minutes tour to understand how this site works : – Ob1lan Jun 16 '15 at 13:27
Yes, that would have been fine if it allowed me to post a comment, which it didn't so I could only post in this manner. I have posted to help other users understand that this particular fix does help. – Dean Bailes Jun 17 '15 at 13:59

You must log in to answer this question.

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