This tutorial will show you how to get a list of devices that support or configured to wake the system from any sleep state in Windows 10 and Windows 11.
When you put your computer to sleep, a device can automatically wake the computer if the device is currently configured (allowed) to wake the system from a sleep state.
Some devices may support waking the system from a sleep state, but are not currently configured to wake the system.
Knowing which devices that are currently configured to wake the system from any sleep state can be useful if you want to prevent a device from waking the computer.
Reference:
Powercfg command-line options
You can use the powercfg.exe tool to control power schemes (also named power plans) to use the available sleep states, to control the power states of individual devices, and to analyze the system for common energy-efficiency and battery-life problems.
docs.microsoft.com
Contents
- Option One: Get List of Devices Currently Configured to Wake Computer from any Sleep State
- Option Two: Get List of Devices that are User-configurable to Wake Computer from a Sleep State
- Option Three: Get List of Devices that Support Waking Computer from any Sleep State
- Option Four: Get List of Devices that Support Waking Computer Only from Light Sleep State (S1)
- Option Five: Get List of Devices that Support Waking Computer Only from Deeper Sleep State (S2)
- Option Six: Get List of Devices that Support Waking Computer Only from Deepest Sleep State (S3)
These are devices currently enabled to allow to wake the computer.
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_armed
These are devices you are able to enable or disable to allow to wake the computer.
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_programmable
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_from_any
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_from_S1_supported
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_from_S2_supported
1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.
2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshot below)
powercfg -devicequery wake_from_S3_supported
That's it,
Shawn Brink
Last edited: