Table of Contents
This updated guide examines How to Enable // Prevent Device from Waking Windows 10 Computer and organizes the essential facts, background, and practical takeaways in clear American English.
Note : You must be logged in as an administrator to do this.
Option 1: Allow or prevent the device from waking the computer in Command Prompt
1. Open Command Prompt with admin rights.
2. Perform step 3 (to allow) or step 4 (to prevent the device from waking the computer) below, depending on what you want to do.
3. To allow the device to wake the computer:
A) Enter the command below into the Command Prompt and pressEnter.
This step will give you a list of all devices that support waking the computer from any sleep state.
Write down the device name (for example, "HID Keyboard Device" ) you want to allow to wake up the computer.
powercfg -devicequery wake_from_any
B) Enter the command below into the Command Prompt and pressEnter. You can close the Command Prompt when finished.
powercfg -deviceenablewake "Device Name"
Replace Device Name in the above command with the device's actual name.
For example:
powercfg -deviceenablewake "HID Keyboard Device"
4. To prevent the device from waking the computer:
A) Enter the command below into the Command Prompt and pressEnter.
This step will give you a list of all devices that can wake up the computer.
Write down the device name (for example, "HID Keyboard Device" ) you want to prevent from waking the computer.
powercfg -devicequery wake_armed
B) Enter the command below into the Command Prompt and pressEnter. You can close the Command Prompt when finished.
powercfg -devicedisablewake "Device Name"
Replace Device Name in the above command with the device's actual name.
For example:
powercfg -devicedisablewake "HID Keyboard Device"
Option 2: Allow or prevent the device from waking the computer in Device Manager
1. Open Device Manager ( devmgmt.msc ).
2. Expand the device category (for example, Keyboards and double-click the device (eg "HID Keyboard Device" ) that you want to allow or prevent the computer from waking.
3. Select or deselect Allow this device to wake the computer according to what you want and click OK.
4. When done, you can close Device Manager if desired.
FAQ
What is How to Enable // Prevent Device from Waking Windows 10 Computer about?
It provides a structured overview of Windows 10, explains the main context, and highlights practical takeaways for readers.
Why does this topic matter?
Understanding the main concepts helps readers evaluate the issue, avoid common mistakes, and make better-informed decisions.
How should readers use this information?
Use the guidance as a practical starting point, confirm details that may have changed, and follow current product, safety, or security recommendations.
Reader Comments 0
Sign in with email or Google to join the discussion.