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 Windows 7.
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


Correlation

- Execution


[ ProcessID] 4


[ ThreadID] 68



Channel System


Computer *** deleted ***



Security
- 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!
Regards,
P.

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
 
 

Windows 7 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?

Thanks!!!
P.
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
Reply

 StandBy / Hibernation off - Computer still powers off.




Thread Tools




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 10:47 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