Windows 10: Allow or Prevent Devices to Wake Computer in Windows 10  

Page 1 of 3 123 LastLast
    Allow or Prevent Devices to Wake Computer in Windows 10

    Allow or Prevent Devices to Wake Computer in Windows 10

    How to Allow or Prevent Devices to Wake Computer in Windows 10
    Published by Category: Performance & Maintenance
    13 Mar 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 20,835

    Show Printable Version 


    How to Allow or Prevent Devices to Wake Computer in Windows 10

    information   Information
    This tutorial will show you how to allow or prevent devices to wake your Windows 10 PC from a sleep or hibernate state.

    You must be signed in as an administrator to be able to allow prevent devices to wake the computer.


    CONTENTS:
    • Option One: To Allow or Prevent a Device to Wake Computer in Command Prompt
    • Option Two: To Allow or Prevent a Device to Wake Computer in Device Manager





    Allow or Prevent Devices to Wake Computer in Windows 10 OPTION ONE Allow or Prevent Devices to Wake Computer in Windows 10
    To Allow or Prevent a Device to Wake Computer in Command Prompt

    1. Open an elevated command prompt.

    2. Do step 3 (allow) or step 4 (prevent) below for what you would like to do.


     3. To Allow Device to Wake the Computer

    A) Type the command below into the command prompt, and press Enter. (see screenshot below)
    Note   Note
    This will give you a list of all devices that support waking the computer from any sleep state.

    Make note of the device name (ex: "HID Keyboard Device") you want to allow to wake the computer.


    powercfg -devicequery wake_from_any

    Click image for larger version. 

Name:	Devices_able_to_wake_computer.png 
Views:	130 
Size:	126.4 KB 
ID:	100644

    B) Type the command below into the command prompt, and press Enter. You can close the command prompt when finished. (see screenshot below)

    powercfg -deviceenablewake "Device Name"

    Note   Note
    Substitute Device Name in the command above with the actual name of the device.

    For example: powercfg -deviceenablewake "HID Keyboard Device"


    Click image for larger version. 

Name:	Enable_device_to_wake_computer.png 
Views:	95 
Size:	12.3 KB 
ID:	100647


     4. To Prevent Device to Wake the Computer

    A) Type the command below into the command prompt, and press Enter. (see screenshot below)
    Note   Note
    This will give you a list of all devices that are able to wake the computer.

    Make note of the device name (ex: "HID Keyboard Device") you want to prevent to wake the computer.


    powercfg -devicequery wake_armed

    Name:  Devices_allowed_to_wake_computer.png
Views: 3901
Size:  15.9 KB

    B) Type the command below into the command prompt, and press Enter. You can close the command prompt when finished. (see screenshot below)

    powercfg -devicedisablewake "Device Name"

    Note   Note
    Substitute Device Name in the command above with the actual name of the device.

    For example: powercfg -devicedisablewake "HID Keyboard Device"


    Click image for larger version. 

Name:	Disable_device_to_wake_computer.png 
Views:	63 
Size:	12.5 KB 
ID:	100646





    Allow or Prevent Devices to Wake Computer in Windows 10 OPTION TWO Allow or Prevent Devices to Wake Computer in Windows 10
    To Allow or Prevent a Device to Wake Computer in Device Manager

    1. Open Device Manager (devmgmt.msc).

    2. Expand open the device category (ex: Keyboards), and double click/tap on the device (ex: "HID Keyboard Device") that you want to allow or prevent to wake the computer. (see screenshot below)

    Name:  Device_Manager-1.png
Views: 3935
Size:  35.3 KB

    3. Check or uncheck the Allow this device to wake the computer box for what you want, and click/tap on OK. (see screenshot below)

    Name:  Device_Manager-2.png
Views: 3924
Size:  18.6 KB

    4. When finished, you can close Device Manager if you like.


    That's it,
    Shawn


  1.    3 Weeks Ago #1

    wake up sleep laptop with keyboard / touchpad


    Dear Mr. Brink,
    I have Asus Zenbook Flip UA360UAK, I need to enable a setting on my Touch Pad and Keyboard driver/device properties, which should be located under the 'Power Management' tab. However, there is no Power Management tab. Now, I can wake up my sleep laptop with my wireless mouse and laptop power button .
    Note :
    In device manager , keyboard device :
    HID Keyboard device and PC/AT Enhanced PS/2 Keyboard(101/102) Key (both no Power Management Tab)
    Please help me.. Thanks in Advance
      My ComputerSystem Spec


  2. Posts : 20,835
    64-bit Windows 10 Pro build 16199
    Thread Starter
       3 Weeks Ago #2

    Hello @desainkilang, and welcome to Ten Forums.

    Double check your BIOS/UEFI power settings to see if you may have a setting to enable for a "Boot from keyboard" type setting.

    In addition, you might see if you may be able to use Option One to enable waking with the keyboard.
      My ComputersSystem Spec

  3.    3 Weeks Ago #3

    unfortunately, my bios laptop have not "Boot from keyboard" type setting and if I try to type command as an Admin : powercfg -deviceenablewake "HID Keyboard Device" , respon : You do not have permission to enable or disable device wake
      My ComputerSystem Spec


  4. Posts : 20,835
    64-bit Windows 10 Pro build 16199
    Thread Starter
       3 Weeks Ago #4
      My ComputersSystem Spec

  5.    3 Weeks Ago #5

    only a wireless mouse and power button

    Click image for larger version. 

Name:	image.png 
Views:	22 
Size:	252.6 KB 
ID:	133287
      My ComputerSystem Spec


  6. Posts : 20,835
    64-bit Windows 10 Pro build 16199
    Thread Starter
       3 Weeks Ago #6

    Just to verify, did you run the command below in an elevated command prompt?

    powercfg -deviceenablewake "HID Keyboard Device"


    Open Elevated Command Prompt in Windows 10 - Windows 10 General Tips Tutorials
      My ComputersSystem Spec

  7.    3 Weeks Ago #7

    is it right Mr. Brink ?

    Click image for larger version. 

Name:	image.png 
Views:	28 
Size:	198.5 KB 
ID:	133289
      My ComputerSystem Spec


  8. Posts : 20,835
    64-bit Windows 10 Pro build 16199
    Thread Starter
       3 Weeks Ago #8

    Try opening an elevated command prompt using Option 3, 4, or 5 below, and then running the command.

    Open Elevated Command Prompt in Windows 10 - Windows 10 General Tips Tutorials
      My ComputersSystem Spec

  9.    3 Weeks Ago #9

    Click image for larger version. 

Name:	image.png 
Views:	17 
Size:	179.2 KB 
ID:	133292

    still this ... You do not have permission.....
      My ComputerSystem Spec


 
Page 1 of 3 123 LastLast

Related Threads
Performance & Maintenance See Devices able to Wake Computer in Windows 10 in Tutorials
How to See Devices that are able to Wake Computer in Windows 10 This tutorial will show you how to see a list of installed devices that are able to wake your Windows 10 PC from a sleep or hibernate state. CONTENTS: Option One: To See...
I tried searching this issue but couldn't find any solutions. For some reason my desktop won't wake up from hibernation unless all the USB devices are unplugged. Never had this problem before Windows 10. Any suggestions?
I am looking for help from anyone with intimate knowledge of the group policies. I have switched off all the power management settings which allow the O/S to switch off a device to save power. I am still getting disconnects and some times this...
How do I prevent my computer from going into a deep sleep after inactivity? I have hybrid sleep off. Whenever I try to wake it up, it doesn't respond to any of keys except for the power button. That leads me to thinking it's been shut down,...
Windows 10 BSOD On Computer Wake From Sleep in BSOD Crashes and Debugging
Every time my computer's monitor goes to sleep, on awaking the computer will BSOD with "kernel security check failure" or the screen will not turn on and reboot the PC. 38090
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:27.
Find Us