Trouble Installing SABnzbd as a Windows Service

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
SpaghettiFiend
Newbie
Newbie
Posts: 2
Joined: November 29th, 2020, 7:46 am

Trouble Installing SABnzbd as a Windows Service

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Trouble Installing SABnzbd as a Windows Service

Post 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" ?
SpaghettiFiend
Newbie
Newbie
Posts: 2
Joined: November 29th, 2020, 7:46 am

Re: Trouble Installing SABnzbd as a Windows Service

Post 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!
Post Reply