View and manage devices that can wake a machine using command prompt

View and manage devices that can wake a machine using command prompt

Q. How can I view devices that can wake a machine using a command prompt?

A. To view all devices that can wake a machine use the following command:

powercfg /devicequery wake_armed

To disable a device from being able to wake the machine use the following example where I disable my mouse from being able to wake my machine:

powercfg /devicedisablewake "Logitech HID-compliant Unifying Mouse"

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish