How to Manage Which Devices Can Wake Your Windows PC From Sleep Mode

How to Manage Which Devices Can Wake Your Windows PC From Sleep Mode

Richard Lv13

How to Manage Which Devices Can Wake Your Windows PC From Sleep Mode

When not in use, putting your Windows PC to sleep is an excellent way to preserve its battery life. You can wake your computer at any time by simply wiggling the mouse, pressing the power button, or pressing a key on your keyboard.

Windows gives you complete control over devices that can wake your computer from a sleep state. In this guide, we will discuss how you can manage those devices.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

How to Check Which Devices Are Capable of Waking Your Windows PC From Sleep Mode

Not every device connected to your system can wake Windows from sleep mode. You can use Command Prompt or Windows PowerShell to determine which of your devices supports waking the computer.

  1. PressWin + S to open the search menu.
  2. Type inWindows PowerShell and selectRun as administrator .
  3. SelectYes when the User Account Control (UAC) prompt appears.
  4. Type the following command and pressEnter to view a list of devices on your system that can wake Windows from any sleep state.
    powercfg -devicequery wake_from_any
    Devices That Can Wake Windows From Sleep Mode

On this list, you’ll see devices like your keyboard, mouse, network adapter, and more.

How to Check Which Devices Are Allowed to Wake Your Windows PC From Sleep Mode

Command Prompt or PowerShell can also tell you which devices are permitted to wake your Windows PC from sleep mode. Here’s how to find out.

  1. Open Command Prompt or Windows PowerShell on your PC.
  2. Type the following command and pressEnter to view a list of devices that are allowed to wake your computer from sleep mode.
    powercfg -devicequery wake_armed
    Devices Are Allowed to Wake Your Windows PC From Sleep Mode

How to Find Out What Woke Your Windows PC From Sleep Mode

Many times, you may find that your Windows computer wakes from sleep mode on its own. Often, it’s one of the connected devices or processes that causes your computer to wake up. Windows can tell you exactly what woke your computer from sleep mode.

  1. PressWin + R to open the Run dialog.
  2. Typecmd in the box and pressCtrl + Shift + Enter tolaunch Command Prompt with admin rights .
  3. Input the following command and pressEnter .
    powercfg -lastwake
    Check What Woke Windows From Sleep

Once you run the above command, Windows will tell you which device or process woke your computer from sleep mode.

If you see something likeWake History Count - 0 , it means that Windows doesn’t have a record of wake history. This can happen if you’ve recently rebooted your computer.

How to Allow or Deny a Device Permission to Wake Your Windows PC From Sleep Mode

Once you know which devices are waking up your computer without your consent, you can take the necessary steps to prevent them from doing so.

To allow or deny a device permission to wake your computer:

  1. PressWin + X to open the Power User menu.
  2. SelectDevice Manager from the list.
  3. Locate the device you want to configure. Right-click on it and selectProperties .
  4. In the Properties window, switch to thePower Management tab.
  5. Check or uncheck theAllow this device to wake the computer checkbox to allow or disallow the permission.
  6. ClickOK to save the changes.
    Allow or Disallow Device to Wake Computer on Windows

You can repeat the above steps to configure power management settings for more devices if you want.

Aside from your devices, your network connections, scheduled tasks, and background wake timers can also wake Windows from sleep mode. If you want to stop that from happening, check our guide onhow to prevent your Windows computer from waking up randomly .

Manage Your Computer’s Sleep

Now you know what devices can wake your computer from a sleep state and how to prevent them from doing so. That said, putting your computer in sleep mode may not always be the best option for your laptop. Sometimes, it’s better to shut it down completely.

Also read:

  • Title: How to Manage Which Devices Can Wake Your Windows PC From Sleep Mode
  • Author: Richard
  • Created at : 2024-12-03 02:35:02
  • Updated at : 2024-12-06 23:24:14
  • Link: https://win11-tips.techidaily.com/how-to-manage-which-devices-can-wake-your-windows-pc-from-sleep-mode/
  • License: This work is licensed under CC BY-NC-SA 4.0.