If your keyboard stops responding after Windows 10 wakes from sleep, the fix is usually a power management setting that lets Windows turn off the USB port or the keyboard itself. You can resolve it in under two minutes by disabling that setting in Device Manager, and this guide covers that fix plus several other reliable solutions.
Why Does This Happen?
Windows 10 uses a power-saving feature called Selective Suspend that can cut power to individual USB ports when they appear idle. When your PC enters sleep, the operating system signals the USB controller to drop power to devices that aren’t actively sending data. Most keyboards don’t send data while the system is asleep, so they get powered down. On wake, the USB controller should restore power, but a driver bug, a misconfigured power plan, or a BIOS/UEFI setting can prevent that from happening.
Another common cause is the keyboard driver’s own power management setting. Windows can tell the driver to allow the computer to turn off the device to save power, and if that checkbox is enabled, the keyboard may stay off after resume. This is especially common with wireless USB receivers and laptops’ internal keyboards, but it can affect any USB keyboard.
Quick Fix: Disable USB Power Saving
This is the most effective fix for most users. It stops Windows from cutting power to your keyboard’s USB port.
- Right-click the Start button and select Device Manager.
- Expand Universal Serial Bus controllers.
- Look for entries named USB Root Hub or Generic USB Hub. There may be several.
- Right-click the first one and select Properties.
- Go to the Power Management tab.
- Uncheck Allow the computer to turn off this device to save power.
- Click OK and repeat for every USB Root Hub and Generic USB Hub.
This prevents Windows from suspending any device on those hubs, including your keyboard. It uses a tiny amount of extra power, but it’s negligible for a desktop and barely affects laptop battery life.
Alternative Fixes to Try
If the above doesn’t work, or if you prefer a different approach, try these in order:
- Update or reinstall the keyboard driver. In Device Manager, expand Keyboards, right-click your keyboard, and choose Update driver. If that doesn’t help, right-click again and select Uninstall device, then restart your PC. Windows will reinstall the driver automatically.
- Change the power plan’s USB setting. Go to Control Panel > Hardware and Sound > Power Options. Click Change plan settings next to your active plan, then Change advanced power settings. Expand USB settings > USB selective suspend setting and set it to Disabled for both battery and plugged in. Click Apply.
- Run the Windows Hardware and Devices troubleshooter. Open Settings > Update & Security > Troubleshoot (or System > Troubleshoot in newer versions), select Hardware and Devices, and run it. It may detect and fix the issue automatically.
- Check for Windows updates. A bug in the USB driver stack can be fixed by a cumulative update. Go to Settings > Update & Security > Windows Update and install any pending updates.
- Disable Fast Startup. This Windows feature hibernates the kernel instead of fully shutting down, which can cause driver issues on wake. Go to Control Panel > Power Options > Choose what the power buttons do, click Change settings that are currently unavailable, uncheck Turn on fast startup, and save changes.
What If It Still Doesn’t Work?
If you’ve tried all the above and the keyboard still fails after sleep, the problem may be hardware-related or deeper in the system. Try these diagnostic steps:
- Test with a different USB port. Some ports (especially front-panel ones) may have weaker power delivery or be on a different controller. Plug the keyboard into a rear port directly on the motherboard.
- Try a different keyboard. If another keyboard wakes fine, your original keyboard may have a firmware issue or a failing USB controller.
- Check the BIOS/UEFI. Some systems have a setting called USB Wake Support or ErP Ready that can affect USB power during sleep. Restart your PC, press the key to enter setup (usually Del or F2), and look for USB or power management settings. Set USB wake to enabled, and disable ErP if it’s on.
- Update your motherboard chipset drivers. These drivers manage USB controllers. Download the latest ones from your motherboard manufacturer’s website.
- Create a new Windows power plan. Sometimes a corrupted power plan causes issues. Go to Power Options and choose Create a power plan, then select the new plan and test.
Laptop Keyboards and Sleep
Laptops have the same issue, but the fix is slightly different. The internal keyboard is connected via an internal USB bus, and the same Device Manager power management setting applies. However, if the keyboard is unresponsive after sleep, you may also need to check the Intel(R) Management Engine Interface driver or the ACPI driver. Updating these from the laptop manufacturer’s support page often resolves the issue. Also, some laptops have a Power Management tab on the keyboard driver itself—unchecking “Allow the computer to turn off this device” there is the same fix as for USB hubs.
Preventing the Issue Long-Term
Once you’ve fixed the immediate problem, you can reduce the chance of it recurring:
- Keep Windows and device drivers updated.
- Avoid using USB hubs for your keyboard; connect directly to the PC.
- If you use a wireless keyboard, replace the batteries or charge it fully—low battery can cause wake failures.
- Consider using a PS/2 keyboard if your motherboard still has a PS/2 port. PS/2 doesn’t use USB power management, so it won’t be affected.
Frequently Asked Questions
Why does my keyboard work after a restart but not after sleep?
Sleep puts the system into a low-power state, and USB devices are suspended. A restart fully reinitializes the USB controller, which is why it always works after a reboot. The issue is that the resume process doesn’t properly reinitialize the keyboard.
Will disabling USB selective suspend drain my laptop battery?
No, the impact is negligible. USB selective suspend saves only a fraction of a watt per device. Disabling it might reduce battery life by a few minutes on a full charge, but it’s usually worth the reliability.
Does this affect Bluetooth keyboards?
Bluetooth keyboards have a different connection. If a Bluetooth keyboard fails after sleep, try disabling the Bluetooth adapter’s power management in Device Manager (under Bluetooth), and also check the keyboard’s own power settings in the Bluetooth settings. The USB selective suspend fix doesn’t apply to Bluetooth.
Can I use a script to automatically fix this?
You can create a simple batch file that runs devcon (a Microsoft tool) to restart the keyboard device, but it’s easier to just disable the power management setting. If you want a script, search for “devcon restart USB device” for examples, but the manual fix is more reliable.
Why does my keyboard work after sleep if I press a key first?
Sometimes the keyboard is not actually dead—it just isn’t sending the wake signal. Pressing a key sends a signal that wakes the USB controller, which then re-enables the keyboard. This is a sign that the power management setting is the culprit, and disabling it will make the keyboard work immediately on wake.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Missing Scroll Bar in Chrome
- Fix Sony Vegas Crashing on Windows 10
- Fix Outlook Sent Items Missing? Quick Solutions
- Hide WhatsApp Channel: Android & iOS Guide
- Slow Context Menu in Windows 11: Fixes
- Declutter Safari on iPhone: 15 Quick Tips