Here's a couple tricks.
First
This first trick makes the next step easier (avoids typos). It allows you to cut and paste text into command prompt windows with left or right mouse clicks (which I also find very handy). Open a command prompt window.
> Right click the title bar (title bar runs along the top of the window). Select Defaults
> Check Quick Edit then OK
Now you should be able to copy and paste into your command prompt windows with mouse clicks.
Second
Open a command prompt window. Now copy the command below to the clipboard (highlight the text, right click->Copy)
Code:
powercfg -devicequery wake_armed
then
> Left click to select the command prompt window
> Right click to paste the command text in. Hit return
You should see a list of the devices enabled to wake up your computer. (On my computer, usually includes LAN adapter + keyboard + mouse) see typical output below
Code:
C:\>powercfg -devicequery wake_armed
Logitech HID-Compliant Keyboard
Logitech HID-compliant Cordless Mouse
Broadcom NetLink (TM) Gigabit Ethernet
Go to each device in DevMgr right click Properties->Power Management and disable wake up