Please use the latest version of the Software Don't Sleep, you have in the Program a solution to start the Program always minimized in tray! (... see Image-1)
And the program start argument is -bg for example C:\dontsleep_x64.exe -bg
(Image-1) Start Dont-Sleep always minimized in to tray!
Turn Computer off, reboot, log off, hibernate or standby and disable the prevent feature in Dont Sleep When you click one of the options via To-Tray menu
It is pretty easy to use start parameter e.g. program arguments in Dont Sleep for example to use for launch via batch file Content / Solution / Tip: 1.