Laptop won't wake from sleep when external Keyboard and Mouse are plugged in via USB Hub. How to fix?

Open an elevated command prompt (admin mode).

  1. Type in powercfg/devicequery wake_programmable

  2. Check to make sure the USB keyboard connected to the USB hub shows up on that list, which would confirm it can indeed wake up your laptop from sleep.

  3. To check what is already enabled, type in powercfg /devicequery wake_armed

  4. Type in powercfg /deviceenablewake "ExactKeyboardName" with ExactKeyboardName being the full and exact name (including parentheses, if any) of the USB keyboard that appeared in step 3 above (make sure the name is wrapped in quotes).

  5. If more than one USB keyboard showed up in the list in step 2, then repeat step 4 with each USB keyboard name.

Try now.


We had this same issue with some Dell laptops. Using a USB hub with an external power source solved this for us.