Random Troubleshooting tips
Powercfg troubleshooting
you can use the powercfg tool via the command prompt to troubleshoot various issues that may prevent you system from going to sleep when you have set it to do so. it's a powerful tool but can also cause you some funny issues if you go to the extremes when troubleshooting the computer sleeping issue.
Run command prompt in elevated mode and run the following command
powercfg /requests
This will give you a list of drivers, tools processes and so forth that may be the cause of your sleep issue
If you run the tool while you have something like YouTube or Netflix running it will also indicate the chrome.exe process as a component that may prevent the computer from sleeping. So then you can run the following command to override this and let the computer sleep even if the process in still running.
powercfg /processoverride PROCESS chrome.exe AWAYMODE DISPLAY SYSTEM
This will let the screen sleep even if something is streaming via chrome, be it Netflix, YouTube or whatever.....
This will then put you computer to sleep or put the screen to sleep, depending on your configuration, even when there is content paying as stated before.
This could be an undesirable option, as you can imagine for yourself.
So to get rid of this do the following
powercfg /requestsoverride
this will list the items that have already been configured, in my example it listed chrome.exe as a process.
To remove it run
powercfg /requestsoverride PROCESS chrome.exe
the command will in this example remove the chrome process that has been configured. It seems you simply run the command as stated above, select the drive or process and the name of it, nothing else needed and that removes it.
There does not seem to be a specific remove command.
And so now if you run powercfg /requestsoverride you will notice that the chrome.exe option has been removed. You can run the same type of command for your other items that you have set to override
Hope that helps you guys