Windows 10: Prevent keyboard from waking laptop Windows 11

Discus and support Prevent keyboard from waking laptop Windows 11 in Windows 10 Software and Apps to solve the problem; Due to a customer requirement a system used to control external hardware I would like to be able to blank the computer screen, and for the screen to... Discussion in 'Windows 10 Software and Apps' started by John Beale1, Apr 6, 2023.

  1. Prevent keyboard from waking laptop Windows 11


    Due to a customer requirement a system used to control external hardware I would like to be able to blank the computer screen, and for the screen to come back on under my C++ program's control and not before then, despite possible accidental or incidental input from USB mouse and/or USB keyboard. As background, I am able to do both the screen blank and restore, first blanking the screen with a call to "SetThreadExecutionStateES_AWAYMODE_REQUIRED ES_SYSTEM_REQUIRED ES_CONTINUOUS" and returning with the same call but only ES_CONTINUOUS flag and without the awaymode f

    :)
     
    John Beale1, Apr 6, 2023
    #1

  2. Prevent keyboard from waking laptop

    Hi Tuhin,

    Thank you for posting your query in Microsoft Community.

    I understand that you would like to disable the keyboard waking up from sleep mode. I'll certainly help you with this.

    Please follow these steps:

    • Press Windows Key + X and click on Device Manager.
    • Expand the Keyboards and right-click/tap on your Keyboard device.
    • Tap Power Management and uncheck Allow this device to wake the computer.
    • Click OK and restart the computer and check the issue.

    Hope this helps you. Post us back if you need further assistance. We'll be glad to assist you.

    Thank you.
     
    Azaruddin Syed, Apr 6, 2023
    #2
  3. Prevent keyboard from waking laptop

    Hi Tuhin,

    Thank you for posting back.

    I would like to let you know that some keyboards may not support this option. I would suggest you to check if you can disable the keyboard from waking the computer using a elevated command prompt.

    • Press Windows + X and click on Command prompt(admin).
    • Type the following command line and hit Enter.
    powercfg -devicedisablewake "exact name of device listed in Device manager"

    3. To check the name of your keyboard device, open Device manager
    and expand Keyboards. Copy the device name and paste it in the command line.

    Hope this will work. Post back if you need further assistance. We'll be glad to assist you.

    Thank you.
     
    Azaruddin Syed, Apr 6, 2023
    #3
  4. coffent Win User

    Prevent keyboard from waking laptop Windows 11

    How to stop mouse movement from waking the computer?

    Thanks lgentry. I have a Microsoft wired keyboard and a Logitech wireless mouse. Under Device Manager>Keyboards it lists two "HID Keyboard Device"s and the Microsoft keyboard. Unchecking the "Allow this device to wake the computer" for the two HID keyboards fixed the problem as you suggested. Weird that one must prevent "keyboards" from waking the computer to in fact prevent the mouse from waking it.
     
    coffent, Apr 6, 2023
    #4
Thema:

Prevent keyboard from waking laptop Windows 11

Loading...
  1. Prevent keyboard from waking laptop Windows 11 - Similar Threads - Prevent keyboard waking

  2. How to stop keyboard from waking laptop

    in Windows 10 Gaming
    How to stop keyboard from waking laptop: I normally know how to stop the keyboard from waking the laptop by going into Device Manager / Keyboard / Power Management. But to my great surprise, there is no Power Management to be found under keyboard. If it was there, and I'm sure it was, it isn't now. This is an ASUS...
  3. How to stop keyboard from waking laptop

    in Windows 10 Software and Apps
    How to stop keyboard from waking laptop: I normally know how to stop the keyboard from waking the laptop by going into Device Manager / Keyboard / Power Management. But to my great surprise, there is no Power Management to be found under keyboard. If it was there, and I'm sure it was, it isn't now. This is an ASUS...
  4. How to stop keyboard from waking laptop

    in Windows 10 Drivers and Hardware
    How to stop keyboard from waking laptop: I normally know how to stop the keyboard from waking the laptop by going into Device Manager / Keyboard / Power Management. But to my great surprise, there is no Power Management to be found under keyboard. If it was there, and I'm sure it was, it isn't now. This is an ASUS...
  5. Prevent keyboard from waking laptop Windows 11

    in Windows 10 Gaming
    Prevent keyboard from waking laptop Windows 11: Due to a customer requirement a system used to control external hardware I would like to be able to blank the computer screen, and for the screen to come back on under my C++ program's control and not before then, despite possible accidental or incidental input from USB mouse...
  6. Unable to prevent USB mouse from waking up Windows/laptop from sleep.

    in Windows 10 Performance & Maintenance
    Unable to prevent USB mouse from waking up Windows/laptop from sleep.: Hi, I've a brand new Windows 10 laptop Dell I'm looking for a way to prevent USB mouse from waking up Windows/laptop from sleep. I'm read some articles on the same, which are suggesting to navigate to device manager and then use the Power Management tab to disable this...
  7. WSL2 prevents laptop from waking back from sleep

    in Windows 10 Performance & Maintenance
    WSL2 prevents laptop from waking back from sleep: My Zephyrus G15 laptop is about 2 months old now, and yesterday, I activated WSL2Windows Subsystem for Linux and installed Ubuntu 20.04 from Windows Store. Immediately after, I installed ROS, CUDA toolkit 11.1, KDE desktop and xrdp, and also VcXsrv. Now, everything works fine...
  8. Laptop's keyboard won't wake up laptop from sleep

    in Windows 10 Support
    Laptop's keyboard won't wake up laptop from sleep: Hello, I fixed the previous issue I had where if the laptop went to sleep, it won't wake up. (did this by disabling hard drive sleep) But now the problem is that the laptop's keyboard won't wake the laptop from sleep, only the power button. I already went checked Device...
  9. How to prevent waking from Hibernation but allow waking from Sleep

    in Windows 10 Performance & Maintenance
    How to prevent waking from Hibernation but allow waking from Sleep: In Windows 10 version 1909, how do I prevent waking from Hibernation but allow waking from Sleep? I don't want my PC to wake from mouse and keyboard movements, but I am maybe okay for it to wake to install updates but if it does this, I'd like it to put itself back into...
  10. Prevent Win10 from waking device?

    in Windows 10 Support
    Prevent Win10 from waking device?: Hello, all device i updated to 10 (anniversary edition) wake from sleep by themselves & i'm not sure why. I checked events history but couldn't identify. Certainly related to (windows) update. How do i stop this? Thank you! 60731