| Windows 7: Unexpected shutdown after period of inactivity |
22 Aug 2011
|
#1 | | |
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 Specs |
| OS Windows 7 Ultimate 32bit |
22 Aug 2011
|
#2 | | Windows 7 64b Ultimate Netherlands |
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 Specs | | System Manufacturer/Model Number custom build OS Windows 7 64b Ultimate CPU I7-2600 3.40GHz - testing various OC levels.. Motherboard ASUS Sabretooth Memory 2x 4Gb DDR3/1333 Graphics Card GTX570 - testing OC levels Sound Card motherboard 7.1 DIG. Monitor(s) Displays 2x Ilyama 24" E2409HDS-B1 2ms/DVI Screen Resolution 1920 x 1080 Keyboard Logitech G110 Mouse Logitech G700 PSU Corsair Pro HX850W Cooling Coolermaster Hyper V8 Hard Drives 120 GB Intel Elmcrest SSD
1 TB SATAII 7200RPM/32MB
External 2TB USB3 Internet Speed 25Mb Other Info CPU: 7,7 RAM: 7,7 GTX: 7,9 GTX 3D : 7,9 SSD 7,6
Overall 7,6 ...... now to speed up the SSD... ;)
Also use a Dell XPS M1710 on Vista 32b
Asus LT on Vista 32
3 older machines still doing fine on Linux/ubuntu but not used much anymore... |
22 Aug 2011
|
#3 | | |
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 Specs | | OS Windows 7 Ultimate 32bit |
22 Aug 2011
|
#4 | | Windows 7 Ultimate SP1 (x64) South Australia |
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 Specs | | Computer type PC/Desktop System Manufacturer/Model Number Golden Mk. I.3 OS Windows 7 Ultimate SP1 (x64) CPU Intel i7 860 @ 2.80 GHz Motherboard Gigabyte P55A-UD3R Rev.1. Award BIOS F13 Memory 16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24) Graphics Card EVGA NVidia GTX 560 1024MB Sound Card Realtek Integrated Monitor(s) Displays Dual Samsung SyncMaster 2494HS Screen Resolution 1920*1080 and 1920*1080 Keyboard Logitech G110 Mouse Logitech MX518 PSU Thermaltake ToughPower QFan 750W Case Thermaltake Element S VK60001W2Z Cooling Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans Hard Drives 1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
3*Samsung F1 SpinPoint 1TB in RAID5;
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0 Internet Speed Not fast enough!!! Antivirus MSE and Malwarebytes Pro Browser Chrome Version 27 Other Info Laptop: ASUS X54C, Intel Core i3-2330M @ 2.0Ghz, 4GB RAM, Intel HD on-board graphics, Windows 7 Professional SP1 (x64), LinuxMint 14 (x64), PepperMint 3 (x86) |
22 Aug 2011
|
#5 | | Windows 7 64b Ultimate Netherlands |
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 Specs | | System Manufacturer/Model Number custom build OS Windows 7 64b Ultimate CPU I7-2600 3.40GHz - testing various OC levels.. Motherboard ASUS Sabretooth Memory 2x 4Gb DDR3/1333 Graphics Card GTX570 - testing OC levels Sound Card motherboard 7.1 DIG. Monitor(s) Displays 2x Ilyama 24" E2409HDS-B1 2ms/DVI Screen Resolution 1920 x 1080 Keyboard Logitech G110 Mouse Logitech G700 PSU Corsair Pro HX850W Cooling Coolermaster Hyper V8 Hard Drives 120 GB Intel Elmcrest SSD
1 TB SATAII 7200RPM/32MB
External 2TB USB3 Internet Speed 25Mb Other Info CPU: 7,7 RAM: 7,7 GTX: 7,9 GTX 3D : 7,9 SSD 7,6
Overall 7,6 ...... now to speed up the SSD... ;)
Also use a Dell XPS M1710 on Vista 32b
Asus LT on Vista 32
3 older machines still doing fine on Linux/ubuntu but not used much anymore... |
22 Aug 2011
|
#6 | | Windows 7 Ultimate SP1 (x64) South Australia |
Ahh. Good point about the checking of the keyboard and LED's. Good suggestion. | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Golden Mk. I.3 OS Windows 7 Ultimate SP1 (x64) CPU Intel i7 860 @ 2.80 GHz Motherboard Gigabyte P55A-UD3R Rev.1. Award BIOS F13 Memory 16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24) Graphics Card EVGA NVidia GTX 560 1024MB Sound Card Realtek Integrated Monitor(s) Displays Dual Samsung SyncMaster 2494HS Screen Resolution 1920*1080 and 1920*1080 Keyboard Logitech G110 Mouse Logitech MX518 PSU Thermaltake ToughPower QFan 750W Case Thermaltake Element S VK60001W2Z Cooling Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans Hard Drives 1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
3*Samsung F1 SpinPoint 1TB in RAID5;
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0 Internet Speed Not fast enough!!! Antivirus MSE and Malwarebytes Pro Browser Chrome Version 27 Other Info Laptop: ASUS X54C, Intel Core i3-2330M @ 2.0Ghz, 4GB RAM, Intel HD on-board graphics, Windows 7 Professional SP1 (x64), LinuxMint 14 (x64), PepperMint 3 (x86) |
22 Aug 2011
|
#7 | | |

Quote: Originally Posted by Golden 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 Specs | | OS Windows 7 Ultimate 32bit |
22 Aug 2011
|
#8 | | Windows 7 64b Ultimate Netherlands |

Quote: Originally Posted by fezster 
Quote: Originally Posted by Golden 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 Specs | | System Manufacturer/Model Number custom build OS Windows 7 64b Ultimate CPU I7-2600 3.40GHz - testing various OC levels.. Motherboard ASUS Sabretooth Memory 2x 4Gb DDR3/1333 Graphics Card GTX570 - testing OC levels Sound Card motherboard 7.1 DIG. Monitor(s) Displays 2x Ilyama 24" E2409HDS-B1 2ms/DVI Screen Resolution 1920 x 1080 Keyboard Logitech G110 Mouse Logitech G700 PSU Corsair Pro HX850W Cooling Coolermaster Hyper V8 Hard Drives 120 GB Intel Elmcrest SSD
1 TB SATAII 7200RPM/32MB
External 2TB USB3 Internet Speed 25Mb Other Info CPU: 7,7 RAM: 7,7 GTX: 7,9 GTX 3D : 7,9 SSD 7,6
Overall 7,6 ...... now to speed up the SSD... ;)
Also use a Dell XPS M1710 on Vista 32b
Asus LT on Vista 32
3 older machines still doing fine on Linux/ubuntu but not used much anymore... |
22 Aug 2011
|
#9 | | |
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 Specs | | OS Windows 7 Ultimate 32bit |
23 Aug 2011
|
#10 | | Windows 7 Ultimate SP1 (x64) South Australia |
Glad you got it worked out | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number Golden Mk. I.3 OS Windows 7 Ultimate SP1 (x64) CPU Intel i7 860 @ 2.80 GHz Motherboard Gigabyte P55A-UD3R Rev.1. Award BIOS F13 Memory 16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24) Graphics Card EVGA NVidia GTX 560 1024MB Sound Card Realtek Integrated Monitor(s) Displays Dual Samsung SyncMaster 2494HS Screen Resolution 1920*1080 and 1920*1080 Keyboard Logitech G110 Mouse Logitech MX518 PSU Thermaltake ToughPower QFan 750W Case Thermaltake Element S VK60001W2Z Cooling Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans Hard Drives 1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
3*Samsung F1 SpinPoint 1TB in RAID5;
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0 Internet Speed Not fast enough!!! Antivirus MSE and Malwarebytes Pro Browser Chrome Version 27 Other Info Laptop: ASUS X54C, Intel Core i3-2330M @ 2.0Ghz, 4GB RAM, Intel HD on-board graphics, Windows 7 Professional SP1 (x64), LinuxMint 14 (x64), PepperMint 3 (x86) Unexpected shutdown after period of inactivity problems? All times are GMT -5. The time now is 07:31 AM. | |