Page 1 of 1

Trouble Installing SABnzbd as a Windows Service

Posted: November 29th, 2020, 8:57 am
by SpaghettiFiend
Hi,

I've been a longtime user of SABnzbd and recently decided to upgrade as I realised I was on quite an old version (0.7!!). I used to run the old version on boot by having a scheduled task that would kick off the .exe and run it as a specific service user on my PC. I use the same user to run Sonarr and Plex. However this approach no longer works. I have tried to install SABnzdb as a service using the instructions on the wiki but when I try to run the first command (SABnzbd-console.exe -f "%localappdata%\sabnzbd\sabnzbd.ini" install) I get an error:

"Error installing service: Access is denied. (5)
ERROR: Cannot set required registry info."

Obviously a permissions issue but I have no idea on what? The service user has rights to run as a service, I'm not sure what else is required. There doesn't seem to be anything in the Event Viewer so I'm at a bit of a loss. Can anyone help?

Re: Trouble Installing SABnzbd as a Windows Service

Posted: November 29th, 2020, 11:30 am
by sander
Error installing service: Access is denied. (5)
From https://sabnzbd.org/wiki/advanced/sabnz ... ws-service did you read and do "Open a DOS window with Administrative (elevated) privileges" ?

Re: Trouble Installing SABnzbd as a Windows Service

Posted: November 29th, 2020, 5:25 pm
by SpaghettiFiend
Sigh! Feel like a bit of an idiot for not spotting that!

That's exactly what it was! All working now, thank you for your help!