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:
- Disable the option: Allow Device To Wake Computers
- 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.
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.
Step 3: from the Hardware and Sound window, under the category Device and Printers, click on Mouse.
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.
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.
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.
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.
Step 2: In order to find the current device which wakes up your computer from sleep.
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
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”
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.
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.