
There is another method by which you can solve sleep problem without disabling the media sharing. The above method would solve your PC’s sleep problems but it is not the correct solution because you have to compromise with media sharing. Now uncheck the box given next to “ Share my media”. To get rid of this problem you can disable multimedia file sharing option by opening Windows media player. If you have a network attached storage then media player file sharing could result in waking up of your computer. In the similar way you can disable other hardware such as keyboard and network adapters. So disable it only if you actually want to deactivate this function. Note: After disabling this option you wouldn’t be able to wake up your computer by moving or clicking your mouse. On Power Management tab, uncheck the option “Allow this device to wake up the computer”. Right click on PS/2 Compatible Mouse option. On device option expand Mice and other pointing devices option. Type Device manager inside the search box provided. You can solve this problem by disabling the option which allows a device to wake the computer.

It could be due to an issue with hardware such as keyboard, mouse network adaptor, any USB device that supports wake up from sleep functionality or could be due to media sharing. This is the sleep problem we are talking about here. You put your computer to sleep state by pressing power button or by closing lid but after few seconds it wakes up again.
