If any process or device is preventing your system from going into sleep mode, information about it will be displayed here.
Now that you have the command prompt window open, enter the following at the command prompt:
To do this, search for cmd again, and then right-click it and select Run as administrator. If you are having trouble, you can attempt to run cmd as Administrator.
Note: it is possible that you will need administrative privileges to complete the next part successfully. If not, click it in the search result list. Hit enter and the command prompt window should open for you. Open the Start menu and then enter cmd into the search box. If your computer won't acknowledge its bedtime and you don't know why it's being disobedient, the following steps may help you out. Really, who likes a glaring (literally) distraction while watching a movie or having a bright light on in the room when you're trying to sleep. When your computer does not enter sleep mode like it's supposed to, it can become rather annoying.