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: StandBy / Hibernation off - Computer still powers off.

22 Aug 2012   #1

Windows 7 32 Bit
StandBy / Hibernation off - Computer still powers off.

Hi all,

I am using Win7.
I occasionally use
powercfg -h off
to disable Standby / Hibernation. Most often if I am running some long-time activities in the background where I am away from the screen.
I noticed, that the computer still powers down (not shutdown). This is confirmed with Event 42, Category 64, Keyword 4 (Information)

- Provider

[ Name] Microsoft-Windows-Kernel-Power

[ Guid] {331C3B3A-2005-44C2-AC5E-77220C37D6B4}

EventID 42

Version 2

Level 4

Task 64

Opcode 0

Keywords 0x8000000000000004

- TimeCreated

[ SystemTime] 2012-08-21T18:37:47.977391000Z

EventRecordID 101705


- Execution

[ ProcessID] 4

[ ThreadID] 68

Channel System

Computer *** deleted ***

- EventData

TargetState 4

EffectiveState 4

Reason 7

Flags 0

If I do
powercfg -a
I get (roughly translated)

Mode S1 not available
Mode S2 not available
Standby has not been activated
Hybrid Standby-mode.

Tha last line of this output catches my eye and I do suppose that instead of doing a normal StandBy, the system goes into hybrid standby.
This, however, is astonishing, since it is stated that
powercfg -h off
disables normal standby just as well as it does disable hybrid standby.

Does anyone have a clue as to why my system still powers down?

Thanks in advance!

My System SpecsSystem Spec
22 Aug 2012   #2

Windows 7 ultimate x64

Hi Pelle

Please post your logs for us to check .... We cant deduce from the above !!
My System SpecsSystem Spec
22 Aug 2012   #3
Microsoft MVP

Windows 7 Ultimate X64 SP1

w7 Has hibernation, sleep or a combo, hybrid sleep. powercfg -h off disables hibernation and therefore hybrid sleep, but not sleep.
Go to Control Panel\All Control Panel Items\Power Options\Edit Plan Settings and set put computer to sleep to never.
My System SpecsSystem Spec

23 Aug 2012   #4

Windows 7 32 Bit

Hi, t
hanks for your time.
Sounds good - I'll try and let you know.

Also - is there a way to do that by command-line?

My System SpecsSystem Spec
23 Aug 2012   #5
Microsoft MVP

Windows 7 Ultimate X64 SP1

I think anything can be done by cmd line, but I'm not versed in the commands.
My System SpecsSystem Spec
24 Aug 2012   #6

Windows 7 Ultimate x64

I think if you set minutes to 0 (zero) this'll do it for you:

powercfg -change -standby-timeout-ac minutes

Use dc in place of the ac as appropriate.
My System SpecsSystem Spec

 StandBy / Hibernation off - Computer still powers off.

Thread Tools

Similar help and support threads
Thread Forum
BSOD After each time I turn on my computer from standby or hibernation
It is very annoying as my computer can not successfully be in sleep for or hibernation mode for long periods of time. Once I turn it on, it either loads into windows (usually the case), then it shortly freezes and shows the following error message. Once in a while it would go straight to the...
BSOD Help and Support
computer powers off after being on for 3-10 seconds
Ok well we had some lighting today but power did not go off, maybe made some of the things flicker for half a second. After PC shut down went to go turn it back on, would boot for a few seconds but then turn off, never got the beep from the mobo or anything Things i tired. Different power...
Hardware & Devices
BSOD When Turning Computer Back On After Hibernation or Standby
Hi, I have a one year old Lenovo Thinkpad Edge E420s. I'm using Windows 7 Ultimate x64 with an Intel i5-2410M @2.30GHz. I bought the Ultimate OS retail as an upgrade to the Windows 7 Home edition. Recently, when I put my computer in hibernate or standby, when I turn the computer back on, it...
BSOD Help and Support
Failure to enter Standby or Hibernation, stops at black screen
Hi again, I have another very nasty issue... My system fails to enter Standby or Hibernation. When I start the process, the monitor fades out to black - as normal - and the system begins to disable devices. I can see i.e. that an attached USB-Stick gets turned off. Unluckily, Windows seems to...
BSOD Help and Support
Windows enters standby/hibernation even with power settings adjusted.
Even with my power settings adjusted, my computer will still periodically go into sleep every half an hour to an hour or so without attendance. Its annoying mainly because I play xbox live, which is bridged through my pc, and I get disconnected because of this. Any reasons why it could be doing...
General Discussion
Wireless Connection Workaround for Standby or Hibernation
How to Workaround the Wireless Connection Issue in Standby This is for the people that like have experienced problems with Wireless Connections not being dropped correctly when in standby. So I thought of a way to make sure that the Wireless Adapter would drop the connection before the standby...

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 01:03.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App