Page 1 of 1

Run sabnzbd when no user is logged on?

Posted: December 18th, 2010, 10:32 am
by isofan
Hi,

I am currently moving Sabnzbd from the local desktop to my WHS, and still have an open issue: I can start sabnzbd on the remote desktop, but when I logoff the Administrator, sabnzbd is terminated. Is it possible to run sabnzbd as a service, so that it is still active when no user is currently logged on?

Re: Run sabnzbd when no user is logged on?

Posted: December 18th, 2010, 10:37 am
by shypike
Services will be supported in the next release.

Instead you can install the "Advanced Admin Console" plugin.
http://www.wegotserved.com/2009/05/24/a ... n-console/
This will enable you to start a command prompt from the WHS console.
If you start SABnzbd from there, it won't stop if  the connection is terminated.

Re: Run sabnzbd when no user is logged on?

Posted: February 11th, 2011, 1:24 pm
by AaronGant
While searching for how to start SABnzbd before login I came across this post, I found a solution that works for me so I'll post it here so others that get led here find an answer. :)

While I do not know if this will work for WHS it's working for me with Windows 7.

I used the group policy editor.  Run gpedit.msc

Computer Config -> Windows Settings -> Scrips (startup/shutdown)  Double Click startup, Click Add, for script name put path to sabnzbd.exe and then add -b0 -f c:\path\to\sabnzbd.ini   to the parameters field.

While this doesn't run it as a service, it starts when Win7 hits the login screen and runs it as SYSTEM, if you change any settings that requires SABnzbd to restart it will stop but no restart.

Hope this helps.

Here's a screenshot
Image