Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Unexpected shutdown after period of inactivity


22 Aug 2011   #1

Windows 7 Ultimate 32bit
 
 
Unexpected shutdown after period of inactivity

I'm hoping someone could give me some pointers on how to go about investigating my PC switching itself off after approximately 10 minutes of inactivity (not sleeping, as Windows is configured to do after 30 mins).

The PC is used as a media centre with xbmc running as the frontend.

If I leave the computer unattended whilst in XBMC. the computer will switch off after approximately 10 mins. I haven't (yet) checked if it happens outside of XBMC, though I suspect it will.

The eventviewer shows:

> The previous system shutdown at <time> on <date> was unexpected.


But nothing else of significance.

The reason I'm convinced this is software related is because the shutdown always occurs around about 10 mins after leaving the PC alone, with no input. I havent timed it precisely, but will do so when I next get a chance.

If I am using the PC in any way, or watching a film, it does *not* shutdown. There are no errors apart from that in the eventviewer log - i.e. no boot menu when you power back on to recommend safe mode, no message on starting windows to say it shutdown unexpectedly. I havent actually observed the shutdown myself yet, so Im not sure if there is a bluescreen or not.

Any tips or advice on how to go about investigating the cause of this ?


My System SpecsSystem Spec
.

22 Aug 2011   #2

Windows 7 64b Ultimate
 
 

Hello fezster, welcome to SF!

It sounds like it is caused by inconsistent energy- or, powersettings.

You need to check both the current scheme in advanced energy settings and the settings of individual devices in the Devices screen. The Powermanagement options of your lan for example but also usb etc...


For us to see what is really going on, please follow http://www.sevenforums.com/crashes-d...tructions.html
My System SpecsSystem Spec
22 Aug 2011   #3

Windows 7 Ultimate 32bit
 
 

Thanks for the reply.

I do not believe there are any dump files to post, but I will check tonight, and also post what is required from the link you gave.

The power settings are on balanced, and I have tried putting both "turn off display" and "put computer to sleep" to Never, and the computer still shuts down.

Am I right in saying that if Windows was causing the shutdown, the Eventviewer would have something in the log to indicate this ? And what if another application was causing the shutdown (is this possible ? or does it have to request a shutdown through windows ?), would that be shown in the log ?

I'm reluctant to believe it's hardware because if Im using the PC, it does not shutdown. Always after a period of ~ 10 mins of inactivity.
My System SpecsSystem Spec
.


22 Aug 2011   #4

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Hi Fezster,

Lets have a look at your current Power Plan Settings. Some settings can be configured to turn the PC off after a nominated period of inactivity. Please run the following from an elevated command prompt:

powercfg -energy

This performs an audit of your energy usage, and posts a log here :

C:\Windows\system32\energy-report.html

Rename the HTML file to .TXT and then upload that here as an attachement, or alternatively simply copy and paste the text into a new reply.

Could you also check in your BIOS to see if there might be some setting there that could be causing the powering off?

Regards,
Golden
My System SpecsSystem Spec
22 Aug 2011   #5

Windows 7 64b Ultimate
 
 

Regretfully there is quite a number of possible reasons for unwanted shutdowns/sleep/hibernate/freeze modes.

First thing too check is what it really is. Sometimes a freeze looks like a shutdown...

Do your keyboard (maybe also: mouse) leds turn off? Do all fans and other noise in the system stop?

I've seen examples where a simple USB smartcard reader caused freezes that looked like a shutdown... Disable the smartcard reader and there is no problem + nothing in event viewer (other than the incorrect powerdown).
My System SpecsSystem Spec
22 Aug 2011   #6

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Ahh. Good point about the checking of the keyboard and LED's. Good suggestion.
My System SpecsSystem Spec
22 Aug 2011   #7

Windows 7 Ultimate 32bit
 
 

Quote   Quote: Originally Posted by Golden View Post
Hi Fezster,

Lets have a look at your current Power Plan Settings. Some settings can be configured to turn the PC off after a nominated period of inactivity. Please run the following from an elevated command prompt:

powercfg -energy

This performs an audit of your energy usage, and posts a log here :

C:\Windows\system32\energy-report.html

Rename the HTML file to .TXT and then upload that here as an attachement, or alternatively simply copy and paste the text into a new reply.

Could you also check in your BIOS to see if there might be some setting there that could be causing the powering off?

Regards,
Golden
Thanks Golden, I will check this tonight and post up the results.

Mvdb - Re keyboard and mouse - unfortunately, as it is used as a media centre, there is no keyboard / mouse attached .. But, the PC definitely is powered off as the main power LED is off, the fans are no longer whirring inside, and I can switch it back on simply by pressing the power button (if it was still powered on, I'd have to switch it off first, usually by holding down power for 5+ seconds, and then switch it back on).
My System SpecsSystem Spec
22 Aug 2011   #8

Windows 7 64b Ultimate
 
 

Quote   Quote: Originally Posted by fezster View Post
Quote   Quote: Originally Posted by Golden View Post
Hi Fezster,

Lets have a look at your current Power Plan Settings. Some settings can be configured to turn the PC off after a nominated period of inactivity. Please run the following from an elevated command prompt:

powercfg -energy

This performs an audit of your energy usage, and posts a log here :

C:\Windows\system32\energy-report.html

Rename the HTML file to .TXT and then upload that here as an attachement, or alternatively simply copy and paste the text into a new reply.

Could you also check in your BIOS to see if there might be some setting there that could be causing the powering off?

Regards,
Golden
Thanks Golden, I will check this tonight and post up the results.

Mvdb - Re keyboard and mouse - unfortunately, as it is used as a media centre, there is no keyboard / mouse attached .. But, the PC definitely is powered off as the main power LED is off, the fans are no longer whirring inside, and I can switch it back on simply by pressing the power button (if it was still powered on, I'd have to switch it off first, usually by holding down power for 5+ seconds, and then switch it back on).

Ok, then the combi of Goldens' report and the upload should give us more info...
My System SpecsSystem Spec
22 Aug 2011   #9

Windows 7 Ultimate 32bit
 
 

Done lots of messing about this evening, and turns out it is in fact XBMC causing the PC to shutdown. If I leave the PC unattended in Windows, it's fine.

I have asked this question on the xbmc forums too, but not had any luck as yet. I'm guessing this forum is no longer the right place for help, but on the offchance anyone can offer some advice, I'm posting.

Thanks for providing the assistance you have.
My System SpecsSystem Spec
23 Aug 2011   #10

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64 Windows 8.1 x64
 
 

Glad you got it worked out
My System SpecsSystem Spec
Reply

 Unexpected shutdown after period of inactivity




Thread Tools



Similar help and support threads for2: Unexpected shutdown after period of inactivity
Thread Forum
Windows 7 freezes after a period of inactivity BSOD Help and Support
Power Mgmt: Is there a way to Shutdown after idle time period? Performance & Maintenance
BSOD after long period of shutdown on startup, random power shut off BSOD Help and Support
Unexpected Shutdown :( BSOD Help and Support
Unexpected Shutdown BSOD Help and Support
BSOD once after long period shutdown BSOD Help and Support
Unexpected Shutdown General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:38 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33