Home » How To » How to Find Out Devices Waking Your PC from Sleep

How to Find Out Devices Waking Your PC from Sleep

Have you ever wondered why your PC wakes up unexpectedly from sleep mode? It’s because of one of your hardware devices like the network card, mouse, keyboard, etc. For example, if your mouse supports Wake on Mouse, moving or pressing the mouse button will wake up the computer. Similarly, if your network card supports Wake on LAN, the PC will wake up on a magic packet, sometimes even randomly. In this article, we’ll show you a simple way to find all the hardware devices capable of waking your PC from sleep. Let’s get started.

Note: The steps below are tested to work on Windows 11, 10, 8, and 7.

Steps to Identify Hardware Devices Capable of Waking Your PC from Sleep

To find all the devices that can wake your PC, we are going to use the ‘powercfg’ command. Here’s how.

First, open the Start menu by pressing the Windows logo key on your keyboard.

In the Start menu, search for Command Prompt, right-click on the result, and choose Run as Administrator.

open Command Prompt as admin

In the Command Prompt window, run the following command.

powercfg -devicequery wake_armed

This command will list all the hardware devices that can wake your computer from sleep. For instance, as you can see from the screenshot below, both my network cards (Ethernet & WiFi) are capable of waking my system from sleep.

run the powercfg command to find out all the device capable of waking up PC

Stopping a Device from Waking Your PC

Once you have the list of all devices that are capable of waking your PC, you can disable that functionality from the Device Manager. That way, they can no longer wake your PC randomly. Here’s how.

Right-click on the Windows logo on the taskbar and select Device Manager.

open device manager in Windows 11 using power user menu

In the Device Manager, find the device, right-click on it, and select Properties.

open mouse properties by right-click on the mouse in the device manager

Navigate to the Power Management tab and uncheck the Allow this device to wake the computer checkbox.

Click the OK button.

uncheck the Allow this device to wake the computer checkbox to disable wake on mouse and prevent mouse from waking your PC

That’s it. That device will no longer wake your computer from sleep. If you have more devices, follow the same steps for all of them.

And there you have it! If your computer is randomly waking up from sleep, follow the steps shown above to identify all the devices capable of waking your PC and disable that feature via Device Manager.

Leave a Comment

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

Scroll to Top