By default, Windows 10 and Windows 11 allow you to wake your computer by moving the mouse or keyboard or pressing a button while it is asleep.
This time, we'll show you how to view all devices that can wake your PC from sleep and prevent them from waking it up.
How to view all devices that can be woken from standby and prevent them from waking up
1. Open Command Prompt as administrator, type the following code and press Enter:
powercfg /devicequery wake_armed
2. This will show you all the devices that can wake your PC.
There are four shown in the image below.
3. Enter the following code as is and press Enter.
devmgmt.msc
4. The Device Manager will open, so look for the device that was displayed earlier.
5. Double-click on these devices and open the Power Management tab.
6. The box next to "Allow this device to wake the computer" should be checked, so uncheck it and click OK.
Once this setting is complete, devices that have been unchecked will not be able to wake up from standby.
Why can I wake my computer from sleep mode by changing only the mouse settings?
For example, even if you set it so that only the mouse cannot be woken from sleep, moving or clicking the mouse may still wake the computer.
The cause isSome mice are recognized as keyboard devicesBecause.
It seems that my laptop was recognizing the mouse as a keyboard, so when I set it up as a keyboard device, clicking the mouse no longer woke the computer up from sleep mode.
If you disable wake on all devices, you can still wake them by pressing the power button once.








Comment: