none
How to prevent the computer from sleeping?

    Pregunta

  • Hi,

    I'm using Win Server 2012 on a test machine which is a simple desktop PC HP Pavilion h9-1120ef.

    Win Server 2012 is set

    • Control Panel\All Control Panel Items\Power Options\Edit Plan Settings : PowerPlan Balanced (Active)
    • Power Options : Sleep After: Never
    • Put the computer to sleep: Never

    Anyway, the computer goes to sleep and I'm unable to awake it. It is always hanging...

    What did I miss?

    Thanks for any idea

    sábado, 05 de enero de 2013 17:02

Respuestas

  • Hi WLID1966,


    Also, we can use High performance power plan.


    Or, run the following commands:


    powercfg.exe -change -monitor-timeout-ac 0
    
    powercfg.exe -change -monitor-timeout-dc 0
    
    powercfg.exe -change -disk-timeout-ac 0
    
    powercfg.exe -change -disk-timeout-dc 0
    
    powercfg.exe -change -standby-timeout-ac 0
    
    powercfg.exe -change -standby-timeout-dc 0
    
    powercfg.exe -change -hibernate-timeout-ac 0
    
    powercfg.exe -change -hibernate-timeout-dc 0


    Hope this helps.


    Jeremy Wu
    TechNet Community Support

    • Marcado como respuesta WLID1966 martes, 08 de enero de 2013 10:22
    martes, 08 de enero de 2013 6:51

Todas las respuestas

  • Try to Switch of Hibernate and check :

    POWERCFG /HIBERNATE <ON|OFF>


    Alias:
      POWERCFG /H

    Description:
      Enables/disables the hibernate feature or sets the hiberfile size.

    Parameter List:
      <ON|OFF>                Enables/disables the hibernate feature.

      /SIZE <PERCENT_SIZE>    Specifies the desired hiberfile size as a percentage
                              of the total memory size. The default size cannot be
                              smaller than 50. This parameter will also cause
                              hibernate to be enabled.

    Examples:
      POWERCFG /HIBERNATE OFF

      POWERCFG /HIBERNATE /SIZE 100


    Regards, Srinivasu.Muchcherla

    • Propuesto como respuesta SRINIVASU M lunes, 07 de enero de 2013 15:44
    lunes, 07 de enero de 2013 4:20
  • Hi WLID1966,


    Also, we can use High performance power plan.


    Or, run the following commands:


    powercfg.exe -change -monitor-timeout-ac 0
    
    powercfg.exe -change -monitor-timeout-dc 0
    
    powercfg.exe -change -disk-timeout-ac 0
    
    powercfg.exe -change -disk-timeout-dc 0
    
    powercfg.exe -change -standby-timeout-ac 0
    
    powercfg.exe -change -standby-timeout-dc 0
    
    powercfg.exe -change -hibernate-timeout-ac 0
    
    powercfg.exe -change -hibernate-timeout-dc 0


    Hope this helps.


    Jeremy Wu
    TechNet Community Support

    • Marcado como respuesta WLID1966 martes, 08 de enero de 2013 10:22
    martes, 08 de enero de 2013 6:51