zeromido
-
Posts
5 -
Joined
-
Last visited
Kudos
-
zeromido gave kudos to AGH1965 in Scheduled Scans
Description: Prevent sleep during scan.
Detail: Windows can put the computer to sleep before the scan is finished. That is very annoying. There should be an option to prevent that from happening.
Oops, it's a coincidence that @zeromido asked someting similar here right above. Before I started typing, I first searched the forum for "scan prevent sleep".
-
zeromido gave kudos to AGH1965 in Scheduled Scans
It is very simple. Use SetThreadExecutionState. See: link to Microsoft Windows Dev Center.