logo
ComputerPrevent USB Devices from Waking Up Computers from Sleep Mode

Prevent USB Devices from Waking Up Computers from Sleep Mode

By Sophia | Last Updated

Sleep mode is a good built-in power management feature in Windows. It offers a way to save power and reduce the wear and the tear while your computer is not being used. Computers can conveniently wake up by slightly removing the mouse. Sometimes a little vibration can wake your computer up directly. For this situation, we will tell you some ways to prevent USB device from waking up computers from sleep mode accidentally. Actually, we can use 2 ways to finish this process.

  1. Way 1: Uncheck the allow device to wake computers box in GUI

  2. Way 2: Use the command line to reset wake up settings

Way 1: Uncheck the allow device to wake computers box in GUI

Step 1: Go to Control Panel. If you are in category view, click Hardware and Sound.

find hardware and sound

Step 2: In the Hardware and Sound window, click Mouse under Devices and Printers.

find mouse item

Step 3: In the Mouse Properties window, click a tab called Hardware in the top bar. Find your current mouse in the Devices list. Normally, there is just one mouse listed there. Then click the button called Properties in the bottom of the window.

click properties

Step 4: In the second Properties window for your mouse, find a tab called Power Management. Then uncheck the Allow This Device to Wake the Computer box.

uncheck the wake box

Some high-end mice, like gaming mice, have high polling rates and high DPI, which means even the tiniest of movements will be detected and cause your computer to wake up. Fixing this setting will prevent that from happening. Note that you can also get to this setting by typing Device Manager into the search bar. Click to expand the option called Mice and other pointing device and then right-click on the mouse you currently use and click Properties. Then the next operation would be the same as mentioned above.

Way 2: Use the command line to reset wake up settings

But sometimes you will find that the tap called Power Management is invisible or the check box labeled with Allow this device to wake the computer is grayed out. Then you should use the under command to prevent mouse or other USB devices from waking up your computer from sleep mode.

Step 1: Go to the Start Menu and type Command Prompt into the search bar then click to open Command Prompt with administrative rights.

open command prompt

Step 2: Type the following command to find latest device wake up your computer.

powercfg -lastwake

Note: This command will give some informations about the devices which issued the latest wake-up order.

Step 3: Type the following command to list the devices that authorized to wake up your computer.

powercfg -devicequery wake_armed

Note: This command will output a list of all the active devices who are authorized to issue a wake-up order to your computer.

Step 4: Type the following command to prevent the device from waking up your computer.

powercfg -devicedisablewake "DEVICE_NAME"

Note: In this command, replace DEVICE_NAME with the exact device name which you want to prevent from waking up your computer from sleep mode.

Attention: If you accidentally forbid some devices to wake up your computer, you can also use the under command to reset them.

powercfg -deviceenablewake "DEVICE_NAME"

Related Articles: