StandBy / Hibernation off - Computer still powers off.


  1. Posts : 2
    Windows 7 32 Bit
       #1

    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


    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 Computer


  2. Posts : 1,454
    Windows 7 ultimate x64
       #2

    Hi Pelle

    Please post your logs for us to check .... We cant deduce from the above !!
      My Computer


  3. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #3

    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 Computer


  4. Posts : 2
    Windows 7 32 Bit
    Thread Starter
       #4

    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 Computer


  5. Posts : 24,479
    Windows 7 Ultimate X64 SP1
       #5

    I think anything can be done by cmd line, but I'm not versed in the commands.
      My Computer


  6. Posts : 2,171
    Windows 7 Ultimate x64
       #6

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 19:32.
Find Us