[WINDOWS] HOW-TO run uTorrent as service without WHS - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: [WINDOWS] HOW-TO run uTorrent as service without WHS (/showthread.php?tid=108608)
[WINDOWS] HOW-TO run uTorrent as service without WHS - gainusha - 2011-08-25 10:17
I have been using XBMC for almost 6 months now and i am very happy with it.
I am using it on my very old Pentium D with 1 Gb RAM PC running on windows 7.
Since it's such an old PC, i deactivated windows 7's GUI and i run directly XBMC as a shell without using eventghost.
This, besides the fact that it makes my media center cleaner and reduces the booting time by almost 10 seconds, it kind of kills utorrent.
So, i search a lot of forums in order to find a way to run utorrent directly as a service.
Below you can find a short tutorial that describes the process i used in order to start utorrent as service and using the WebUI.
1. Install uTorrent and the WebUI (i installed it to the default directory).
2. Configure the download and webui parameters to your liking.
3. Install uTorrent as a Windows Service. We need a couple of tools to do this, I downloaded them with the Windows 2003 Resource Kit. The two files are instsrv.exe and srvany.exe (check the end of the post for download links)
4. Copy these files into the program directory you have created for uTorrent.
5. Get an admin command prompt. At the command line get into the uTorrent directory using the cd command. Then run the following command. Where uTorrent is the name of your uTorrent folder in Program Files. If you've installed this elsewhere amend the path accordingly.
7. Create a .reg file with notepad that contains the following (you might need to change the path if you didn't install in the defautl directory) and add it to the registry:
8. Go to windows service, search for utorrent, set it as automatic if it's not already and start it.
http://www.tacktech.com/download.cfm?file=microsoft/service/srvany.zip or http://www.microsoft.com/download/en/details.aspx?id=17657
- jamjoe - 2011-08-27 04:02
Thanks for this guide. I used this to setup Headphones as a service.
- Deviant Khan - 2011-09-18 05:31
You can use the Windows 2003 Resource Kit files, INSTSRV.EXE and SRVANY.EXE, on newer operating systems such as Windows 7. It installs by default to the C:\Program Files\Windows Resource Kits folder. You can find both files under the Tools sub-folder. I copied the INSTSRV.EXE file to the %SYSTEMROOT%\System32. Then I put the SRVANY.EXE into each of the folders I wanted to run as a service; SABnzbd, CouchPotato, SickBeard, and Headphones. You could just put SRVANY.EXE into %SYSTEMROOT%\System32, but I like that I can see the folder I'm running under easier through Services.
- Deviant Khan - 2011-09-18 20:45
I am having an issue with the applications running as a service that access a mapped drive where I have the media stored. It doesn't even appear to have read access. I tried having the services run as SYSTEM and my user, and giving explicit privileges to the share. However, it's still not working. I'm planning on trying to use a SMB share, but could use any ideas as to why it's not working in my current configuration.
RE: [WINDOWS] HOW-TO run uTorrent as service without WHS - KarmaPolice - 2013-03-01 06:27
Your issue with using mapped drives for this is that services can't access mapped drives... in order to map it, instead of the "net use" or menu syntax, use the mklink command. Links made this way are visible to services, other accounts, etc (they are roughly the same as nfs mounts on *nix).
RE: [WINDOWS] HOW-TO run uTorrent as service without WHS - mabayhan - 2013-06-15 10:53
There is an another way without installing srvany or editing register.
There is a 186kb program called nssm.
Link is : http://nssm.cc/download/nssm-2.16.zip
Copy suitible program to windows or somewhere else.
Run from command prompt.
"nssm.exe install uTorrent"
Locate utorrent.exe and done. It will add to services and set it to start automaticly.