Download and install the troubleshooter from this link.
Now try to perform Windows Updates -
1) In the search box, type and open Windows Updates.
2) Check for updates.
3) If the updates are available, click on install and restart the computer.
Step 1: Enabling the Keyboard in Windows
Skip this step if the computer does not enter sleep mode or if the computer wakes unexpectedly.
Follow these steps to enable your keyboard to wake your computer from sleep mode:
In Windows, search for and open the Device Manager.
Click the arrow next to Keyboards and double-click the name of your keyboard.
If the Power Management tab is available, proceed to the next step.
If the Power Management tab is not available, click the Change Settings button if it appears below the Device status box. The same Keyboard Properties window opens with the Power Management tab available.
If you are prompted for an Administrator password or confirmation, type the password or provide confirmation.
Click the Power Management tab and make sure that the box next to Allow this device to wake the computer is checked.
Click OK, and then test to make sure that the keyboard can now wake the computer. If the computer still cannot wake from sleep mode, continue using these steps.