Running Deluge as a service

Specific support for Deluge on Microsoft Windows OS
New User
New User
Posts: 4
Joined: Wed Sep 16, 2009 7:08 am

Running Deluge as a service

Postby Bombur » Wed Apr 28, 2010 9:13 am

Hello everyone,

I hope this has not been asked before, but I can not find it anywhere.
Has anybody ever succesfully run Deluge 1.2.3+WebUi as a service on a Win2k-box? If so, is there an easy to follow guide to that or even something automated? Not that I do mind hacking my registry, but I am reluctant to try and mess up the whole system.

Posts: 37
Joined: Fri Sep 12, 2008 8:36 am

Re: Running Deluge as a service

Postby deluge001 » Wed Aug 18, 2010 10:27 pm

I've been faffing about with winserv.exe for a few hours now, but I've made minimal progress, to the point where I just can't figure out what I'm doing wrong. Some kind of guide or pointer in the right direction would be most welcome.


Re: Running Deluge as a service

Postby Keboo » Sat Mar 17, 2012 7:19 pm

I have Deluge+WebUI running as a system service on my 2k3 server.

Here is how I set it up.

First I download the Server 2003 Resource Kit Tools from here: ... n&id=17657

I installed it in the default location.

In a command prompt I ran:
"C:\Program Files\Windows Resource Kits\Tools\INSTSRV.EXE" Deluge "C:\Program Files\Windows Resource Kits\Tools\srvany.exe "

This created a system service to use.

In the registry I navigated to:

Next from the Edit menu, I added a string vaue.
Value Name: Application
Data Type : REG_SZ
Edit the string value and enter: "C:\Program Files\Deluge\deluge.exe"

Back in the command prompt, I started my new service:
I ran the command: "net start Deluge"

Finally I would like to give most of this credit to the person who made the post I took most of this information from:

To answer the original posters question. The original forum post that I took the information from has similar sets for doing it on Win2k, but as I do not have a a Win2k box running I cannot say whether they will work or not.

New User
New User
Posts: 6
Joined: Thu Oct 18, 2007 1:04 am

Re: Running Deluge as a service

Postby ThreatDown » Mon Jan 28, 2013 6:21 pm

In case anyone comes across this thread via google as I did, a method that should work better for new versions of windows (server 2k8, windows 7/8) is to use nssm instead of srvany, this works great for me in windows 8 so far:

create the deluge service with nssm install deluged. in the window that pops up browse to your deluged.exe and name the service and click install.
then open services.msc, browse to the deluged service > properties > Log On > choose "this account" and put in your windows username and password (I had to do this or else none of my clients would connect).

Then just start the service and you should be good to go. Haven't tested this method much yet, but working well so far.

New User
New User
Posts: 3
Joined: Tue Aug 28, 2012 10:38 pm
Location: Athens, Greece

Re: Running Deluge as a service

Postby tetsuo » Mon Jan 28, 2013 10:46 pm

@ThreatDown Many thanks for nssm solution. It works great on Win8 (64bit).


Re: Running Deluge as a service

Postby neohidra » Thu Mar 21, 2013 4:12 pm

Are there any advantages compared to setting up a task (using Task Scheduler) and starting Deluge at startup?

Why exactly you need Deluge running as a service?

Top Bloke
Top Bloke
Posts: 3642
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Running Deluge as a service

Postby Cas » Fri Mar 22, 2013 2:28 pm

Services will usually have the capability to restart a crashed application.

Return to “Windows OS”

Who is online

Users browsing this forum: No registered users and 8 guests