cant find out why system wont hibernate

MonKENy

Platinum Member
Nov 1, 2007
2,026
3
81
Ive tried using the usual commands,

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Generic>powercfg -lastwake
Wake History Count - 1
Wake History [0]
Wake Source Count - 1
Wake Source [0]
Type: Device
Instance Path: USB\ROOT_HUB\4&f0fad8b&0
Friendly Name:
Description: USB Root Hub
Manufacturer: (Standard USB Host Controller)

C:\Users\Generic>powercfg /requests
DISPLAY:
None.

SYSTEM:
[DRIVER] VIA High Definition Audio (HDAUDIO\FUNC_01&VEN_1106&DEV_0397&SUBSYS_184
90397&REV_1000\4&61d13cd&0&0001)
An audio stream is currently in use.

AWAYMODE:
None.

I cant seem to figure out what USB could be preventing it as nothing is plugged in or also what audio could be streaming

any ideas?
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
Open an elevated command prompt and use the PowerCfg tool to identify the device preventing hibernation (or any other sleep state). Disable one device and test if the computer will hibernate (temporarily set time to hibenate to 1 or 2 minutes for testing purposes). Re-enable the device if it's not the cause, then disable the next listed device and repeat the process until you disable the device that's preventing sleep state.

(This command will return all devices that are currently configured to wake the system from any sleep state):

powercfg -devicequery wake_armed

(This command will disable the device from waking the system from a sleep state):

powercfg -devicedisablewake <devicename>

Note: <devicename> specifies a device retrieved using "powercfg -devicequery wake_armed".

(This command will enable the device to wake the system from a sleep state):

powercfg -deviceenablewake <devicename>


Edit: Type powercfg help for the full list of commands and syntax.


.
 
Last edited:

MonKENy

Platinum Member
Nov 1, 2007
2,026
3
81
C:\Windows\system32>powercfg -devicequery wake_armed
HID Keyboard Device
Logitech HID-compliant Unifying keyboard (001)
HID-compliant mouse (001)
Realtek PCIe GBE Family Controller
Logitech HID-compliant Unifying mouse (001)

C:\Windows\system32>powercfg -devicedisablewake Realtek PCIe GBE Family Controller
Invalid Parameters -- try "/?" for help

C:\Windows\system32>powercfg -devicedisablewake <Realtek PCIe GBE Family Controller>
The syntax of the command is incorrect.

C:\Windows\system32>
 

Bubbaleone

Golden Member
Nov 20, 2011
1,803
4
76
Sorry, I figured you already knew correct command prompt syntax. When a commandline contains spaces the element must be enclosed within parthentheses.

Incorrect syntax:

powercfg -devicedisablewake Realtek PCIe GBE Family Controller

powercfg -devicedisablewake <Realtek PCIe GBE Family Controller>


Correct syntax:

powercfg -devicedisablewake "Realtek PCIe GBE Family Controller"


.
 
Last edited: