How to prevent the computer from sleeping?
-
Saturday, January 05, 2013 5:02 PM
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
All Replies
-
Monday, January 07, 2013 4:20 AM
Try to Switch of Hibernate and check :
POWERCFG /HIBERNATE <ON|OFF>
Alias:
POWERCFG /HDescription:
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 OFFPOWERCFG /HIBERNATE /SIZE 100
Regards, Srinivasu.Muchcherla
- Proposed As Answer by SRINIVASU M Monday, January 07, 2013 3:44 PM
-
Tuesday, January 08, 2013 6:51 AMModerator
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- Marked As Answer by WLID1966 Tuesday, January 08, 2013 10:22 AM


