If you put your computer in Sleep Mode when you’re not using it, by default you just need to wiggle your mouse or tap a key on the keyboard to wake it up again. But the slightest movement of the mouse or even, say, just a cat walking on the keyboard will wake it up, too. That gets annoying.
These steps will prevent anything other than the power button from awakening your computer.
First start with the mouse. Click Start >> Control Panel. Click on Mouse.
The Mouse Properties window comes up. Click the Hardware tab. Then click Properties.
On the next screen, select Power Management. Uncheck the option to Allow This Device to Wake the Computer.
Now for the keyboard your cat walks on at night. In Control Panel, click Keyboard.
Keyboard Properties comes up. Select the Hardware tab. Click Properties.
Next select the Power Management tab. Uncheck the option Allow This Device to Wake the Computer. Hit OK.
That’s it. Now neither your mouse or keyboard will wake your system from Sleep Mode. You’ll need to press the computer’s power button to wake it.