Fix Windows not waking up from sleep with mouse and keyboard

When we finish using our computer, we can choose to turn off the computer or use the sleep mode, by which the computer is kept on, but with minimal energy consumption, so that when we return we can continue our tasks at the point where we left them. In general, to return from sleep mode we can use the keyboard or the mouse, but what if they have stopped working?

To use Windows again from sleep mode, simply press a key on the keyboard or move the mouse. However, there may be situations where both stop working and do not allow us to return from sleep mode, for which we will have to use the power button.

Windows not waking up from sleep with mouse and keyboard

Causes of Mouse and Keyboard Not Working in Sleep Mode

In general, it is possible to return from Windows sleep mode using our keyboard or mouse in a simple way. Sometimes we may find that these do not work correctly once Windows is suspended, which prevents us from using it to resume activity. These problems are usually related to the power management of the USB that Windows performs or problems with the drivers of these.

In the event that the peripherals are not configured to be able to restore the PC, or that we have made modifications to the power plan that deactivate them. We must also verify that the power plan we have selected does not disable these devices for use in sleep mode and that Windows does not close the USB ports. Similarly, a driver update or using the Hardware and Devices Troubleshooter can help us fix the problem.

Keyboard and mouse do not respond when returning from sleep

Next, we are going to review some actions that we can carry out in the event that our keyboard and mouse stop working when we return from sleep mode.

Check that the peripherals can restore the PC

The first thing we must verify is that our USB devices are configured to allow the reactivation of Windows, since otherwise we cannot return from sleep mode using the keyboard or mouse. To do this we are going to press the “Windows + R” command with which we will access the “Execute” command. Here we will write devmgmt.msc and click OK, with this we will enter the Device Manager.

Here we display the option “Mouse and other pointing devices” to show us the mouse that we have connected to the PC. We right-click and select “Properties”.

Mouse y propiedades

Then we select the “Power Management” tab and check if the option “Allow this device to reactivate the computer” is enabled or not. If not, we mark the box and click OK to save the changes.

Permitir que este dispositivo reactive el equipo

In the case of the keyboard, we display the “Keyboards” section and we will carry out the same steps. Keep in mind that some computers, especially laptops, do not allow you to return from sleep mode using the keyboard, so the Power Management option may not appear.

Update mouse and keyboard drivers

Sometimes the problems caused with the mouse and keyboard can be caused by having outdated drivers, so it would be advisable to keep them updated. Next, we are going to press the Windows + R command with which we will access the Run command. Here we will write devmgmt.msc and click OK, with this we will enter the Device Manager.

We expanded the options for “Keyboards” and “Mice and other pointing devices”. Right click on the keyboard or mouse and click on “Update driver”. This will cause a window to appear where we must select Search for drivers automatically, so that Windows will take care of searching for and installing the latest drivers.

Actualizar controladores del ratón

Check that Windows does not close the USB ports

The problem may be caused by the PC reducing power to the USB ports after Windows goes into sleep mode, preventing signal from reaching the mouse and keyboard. To do this, from the Device Manager we expand the option “Universal serial bus controllers”. In each of them we double click and access the “Power Management” tab. In each of them we disable the “Allow the computer to turn off this device to save energy” box.

Permitir que el equipo apague el dispositivo para ahorrar energía

Reset power options settings

Another option we can try is to reset the power options settings. To do this we write cmd in the search box of the Start menu and execute the Command Prompt with administrator rights. Once it appears, we write the following command and press Enter:

powercfg -restoredefaultschemes

Restablecer la configuración de las opciones de energía desde CMD

We wait until the command is executed and then we close the command prompt. This will reset the power options, so if we have made any modification that prevented using the keyboard or mouse in sleep mode, it will be disabled and we can use it again.

Check the PC power plan

We can also check the power plan established in the computer. To do this we write control panel in the search box of the Start menu. Subsequently we select “Power options” and “Change plan settings”, within the plan that we have selected. On the next screen we select “Change advanced power settings” which will open a new window.

Cambiar la configuración de energía

In this new window we expand the “USB Configuration” and then the “USB Selective Suspension Configuration”. Here we must change the options to “Disabled” and click OK. This will prevent the system from turning off the USB ports to save power and may prevent us from being able to wake up from sleep using the keyboard or mouse.

Configuración de suspensión selectiva de USB

Use the Hardware and Devices Troubleshooter

With the keyboard and mouse connected, we must choose to run the Hardware and Devices Troubleshooter to see if it can help us solve the problem. This is something that we must do from the Command Prompt. To do this we must write cmd in the search box of the Start menu and select the Command Prompt by running it as administrator. Next, we enter the following command and press Enter:

msdt.exe -id DeviceDiagnostic

Solucionador de problemas de hardware y dispositivos en CMD

This will launch the hardware and device troubleshooter in Windows 10, so we need to let it finish and take care of fixing any issues it might encounter.