Page 1 of 1

Windows: Use Powercfg API for Requests

Posted: August 29th, 2020, 12:09 pm
by GLomax
Using the Powercfg API requests to keep a Windows system in Wake mode (no sleep while SABnzbd is loaded) would allow a user to Override the request and allow the system to go to sleep.

A command such as:

powercfg /requestsoverride process sabnzbd.exe system awaymode

in a script could be scheduled to allow a Windows system to go to sleep while sabnzbd.exe is active. The alternative is to kill the process with a command: taskkill /f /im sabnzbd.exe

Re: Windows: Use Powercfg API for Requests

Posted: August 29th, 2020, 1:51 pm
by safihre
You can also just disable sabnzbd keeping your system awake, it's in Config Specials :)