Don’t Let Your USB Devices Wake Your Computer From Sleep Mode

Windows comes with Sleep mode for better power management. It is an effective way to save power and reduce the abrasion of your computer when sitting idle. Moving the mouse is all it takes to make the computer come out of the sleep mode. Connecting a USB or inserting a CD can do the same. However, if you don’t want the computer to come out of the sleep mode as such, there is a way. In this post, we will discuss a couple of ways to stop USB devices from waking Windows 10 when in sleep mode.

There are two ways to do it:

  1. Disable the option: Allow Device To Wake Computers
  2. Use Command Prompt
  • Disable the option: Allow Device To Wake Computers

To disable the option to allow the device to wake the computer, follow these steps:

Step 1: Go to start menu and type Control Panel in the search box beside it.

Disable the option-Allow Device To Wake Computers

Step 2: Once Control Panel is launched, Change the View by to Category View from the top right-hand side corner of the window. Click on Hardware and Sound.

Disable the option- Allow Device To Wake Computers -2

Step 3: from the Hardware and Sound window, under the category Device and Printers, click on Mouse.

Disable the option- Allow Device To Wake Computers-3

Step 4: Mouse Properties window will come up. Go to Hardware tab. You will get the name of Mouse attached to your computer. Select the mouse and then click properties. Then select Change Settings from the next window.

Disable the option- Allow Device To Wake Computers -4

Step 5: You will get another Properties window, click on “Power Management” tab. You will get a couple options. Remove the check mark from the one that says: Allow this device to wake the computer.

Disable the option- Allow Device To Wake Computers -5

This way, you can disable the option to wake your computer from sleep mode. When you are using a high-end gaming mouse, which comes with high DPI and polling rates, a simple movement is tracked and is enough for a computer to come out of sleep mode.

Alternative way: You can also disable the option by using this- Type Device Manager in the search bar beside Start button. Under Device Manager, locate Mice and another pointing device, right-click the mouse that you are using and click Properties. You can follow the same aforementioned process to disable the option after getting Properties tab.

Alternative way


  • Use Command Prompt:

 As you can see disabling the option is not a tedious task but what if the Option to disable the device from waking up the computer is greyed out and you couldn’t make any changes. In this scenario, use Command Prompt to stop USB devices from waking your computer from sleep mode. Follow these steps to do so:

Step 1: Type Command Prompt in the search bar beside Start button. Once it comes up in search results, right-click it and select Run as Administrator.

Use Command Prompt-1

Step 2: In order to find the current device which wakes up your computer from sleep.

powercfg -lastwake

Use Command Prompt-2

The command will show the list of devices due to which your computer came out of sleep mode.

Step 3: Now in order to check which device has permission to wake up your computer, type this command:

powercfg -device query wake_armed

Use Command Prompt-3


Press enter, you will get the list of all the working devices which can wake up the computer with a tiny movement.

Step 4: Now to not let a device from waking your computer up, type the below command:

powercfg -devicedisablewake “DEVICE_NAME”

Use Command Prompt-4

For example, powercfg -devicedisablewake “HID-compliant mouse” wherein HID-compliant mouse is the device name

Don’t forget to replace the device name in the command from DEVICE_NAME with the device which you want to stop from waking your computer up.

If you have disabled the option for those devices which you didn’t intend to then you can set it right by resetting them.

Use Command Prompt-4-1

powercfg -deviceenablewake “DEVICE_NAME”

powercfg -deviceenablewake “HID-compliant mouse”

This is how you can stop USB devices from waking Windows 10 from the sleep mode. Try it and let us know if you encounter any issues while following the steps.

Next Read: How To Fix Blue Screen Of Death Error Or BSOD Error In Windows 10 Manually


  • comment_avtar
    thank you so much. helped a ton.

    3 years ago
    • comment_avtar
      Mridula Nimawat
      Glad to hear that!

      3 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe Now & Never Miss The Latest Tech Updates!

Enter your e-mail address and click the Subscribe button to receive great content and coupon codes for amazing discounts.

Don't Miss Out. Complete the subscription Now.