When a computer is put into sleep mode (standby), it remains in a low-power state. Some devices – such as the keyboard or mouse – are allowed to automatically wake the system with an input (e.g., a key press or mouse click). This function can be enabled or disabled as needed.1. ❓ How do I find out which devices are allowed to wake up the PC? 2. ❓ How can I prevent the mouse from waking the computer? 3. ❓ How can I prevent the keyboard from waking the computer? 4. ❓ How can I re-enable this function for specific devices? 5. ❓ Can I also change this behavior via the command prompt? 6. ❓ Why does my PC sometimes wake up automatically anyway? 7. ❓ Does this also apply to laptops? 8. ❓ Which Windows versions support this function? 9. ✅ Tip: 1.) ❓ How do I find out which devices are allowed to wake up the PC?1. Open a command prompt (CMD) as administrator. 2. Enter the following command: powercfg -devicequery wake_armed3. A list of devices that are currently allowed to wake the computer from sleep mode is displayed. 2.) ❓ How can I prevent the mouse from waking up the computer?1. Open Device Manager (Windows key + X → Device Manager). 2. Expand the Mice and other pointing devices section . 3. Select the mouse you are using → Properties → Power Management . 4. Uncheck the box next to "Allow this device to wake the computer . " 5. Click OK .
3.) ❓ How can I prevent the keyboard from waking up the computer?1. In Device Manager, open the Keyboards section . 2. Double-click the keyboard you are using. 3. In the Power Management tab, uncheck the box next to "Allow this device to wake the computer . " 4. Click OK . 4.) ❓ How can I reactivate the function for specific devices?If you want to allow, for example, the keyboard to wake the PC: 1. Open the device again in Device Manager . 2. In the Power Management tab , check the box next to "Allow this device to wake the computer . " 3. Click OK . 5.) ❓ Can I also change this behavior via the command prompt?Yes. The following command can be used to grant or revoke a device's permission to wake up: * Allow: powercfg -deviceenablewake "device name" * Forbid: powercfg -devicedisablewake "devicename" Example: powercfg -devicedisablewake "HID-compliant mouse" 6.) ❓ Why does my PC still sometimes wake up automatically?Possible causes: * Scheduled tasks (e.g., Windows Update or maintenance tasks). * Network adapter allowed to wake the PC (e.g., with "Wake on LAN"). * Time-based settings in the BIOS/UEFI. To see all possible sources: powercfg -lastwake This allows you to see which device or task triggered the last wake-up process. 7.) ❓ Does this also apply to laptops?Yes, even with laptops, an external or integrated mouse or keyboard can wake the computer. However, this function should usually remain disabled when using battery power plans to avoid unwanted wake-ups and increased energy consumption. 8.) ❓ Which Windows versions support this feature?These settings are available in all current versions: * Windows 12 * Windows 11 * Windows 10 * (and also older versions like Windows 8.1) 9.) ✅ Tip:If you want to prevent your computer from waking up unintentionally altogether , you can also adjust the power options: 1. Control Panel → Power Options → Change plan settings → Change advanced power settings. 2. Under Power saving → Allow timers to wake the computer , set to Disabled . FAQ 163: Updated on: 19 April 2026 18:35 |

