Step 1: Download and Install uTorrent
- Download uTorrent 2.2.1 (390 KB)
- Install uTorrent as normal, by opening the downloaded EXE
- It should install itself into C:\Program Files (x86)\uTorrent
Step 2: Configure uTorrent Web UI
- Run uTorrent as normal (e.g. Start Menu)
- Go to Options menu and select Preferences
- Go to the Directories folder and set the folders where you want your torrents to be stored
- Make a note of these directories, as you will need them in step 8
- Go to the Web UI section and make three changes
- Tick “Enable Web UI”
- Set a username and password
- Tick “Alternative Listening Port”; leave the number as 8080
- Note: This sub-step is not strictly necessary but gives you a higher chance of things working first time
Step 3: Test uTorrent Web UI
- Using a different computer on the local network ensure you can get to the uTorrent Web UI
- The web address should of the form http://homeserver:8080/gui/
- Note: You must replace homeserver in the above URL with the name of the computer where you install uTorrent.
- The browser should ask for a username and password. Use the values provided in Step 2
- You should see the uTorrent Web UI.
- If you do not see the uTorrent Web UI do not proceed any further. You have a networking problem. Seek help.
- At this stage you have a working uTorrent Web UI but it is NOT running as a service. This means that torrents can still only be downloaded when a user is logged on and running uTorrent. Continue with the following steps to run it as a service…
- Important: Now Close down uTorrent by choosing File->Exit.
Step 4: Copy the uTorrent settings file
- Copy the settings.dat file from C:\Users\<User>\AppData\Roaming\uTorrent to C:\Program Files (x86)\uTorrent
Note: Depending on your username you will need to substitute <User> in the above path
Step 5: Download and Install SRVANY.exe
- Download Windows Server 2003 Resource Kit Tools (11.8 MB).
- Install the entire tool suite as normal, by opening the downloaded exe.
- By default srvany.exe will be installed to C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe
Step 6: Create Windows Service for uTorrent
- Open an administrative command prompt by following these steps:
- Navigate to Start Menu –> Accessories –> Command Prompt
- Right click and select “Run as Administrator”
- At the command prompt enter the following:
sc create uTorrent binPath= "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe" obj= "NT AUTHORITY\LocalService" start= auto
If you get the “Access is denied” error then you are not running as administrator.
Step 7: Configure the SRVANY.EXE service
- If you want to perform this step manually you will need to know about regedit. Here are the steps:
- Run regedit
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\uTorrent\Parameters
- Create the Parameters key if it does not exist
- Under the Parameters Key, add a new String Value named Application
- Set the value to be C:\Program Files (x86)\uTorrent\uTorrent.exe
- If you have done everything correctly it should look like the screenshot below:
Step 8: Modify permissions on your downloads directory
By default Windows will not allow your uTorrent service to read or write to the disk. In order for uTorrent to work you need to add read & write permissions on the directory or directories you specified in Step 2.
- Navigate to the directory
- View the directory properties
- Select the Security tab
- Click the Edit… button
- Click the Add… button
- Enter LOCAL SERVICE (including the space) then click OK
- Ensure “Allow Modify” is ticked, and OK everything
- It should look something like the screeshot below:
Step 9: Ensure the uTorrent service is running
- Load the services control panel (Start->Run->Services.msc)
- Locate the service named uTorrent and verify the Status column says “Started”.
- If it does not say “Started”, then click the Start Service button
Finally…
- Log off your Windows session and repeat Step 3 to verify that the web UI is still working and you can download torrents successfully.
General trouble shooting:
- Double check that uTorrent.exe is not running on your desktop.
- Note: By default clicking the close button in top right of the uTorrent window will not actually exit the application
- Double check that uTorrent.exe is running as a service.
- In task manager, “Show processes from all users”, ensure you can see uTorrent.exe running with LOCAL SERVICE displaying in the User Name column
- Please leave a comment if you have any issues with this guide
Pingback: Installing uTorrent on Windows Home Server 2011 |
#1 by JazJon on June 29, 2011 - 8:58 am
Quote
2003 Resource Kit Tools will install and work on 64 bit WHS 2011??? (cool)
Do you know if AnyServiceInstaller will work on WHS 2011 as well?
http://forum.wegotserved.com/index.php/topic/18556-any-service-installer-on-whs-2011/
#2 by JazJon on July 2, 2011 - 12:41 pm
Quote
Task Schedule works great in WHS 2011 (free an simple)
Server Manager (near start menu)
-Drill down to, Configuration, Task Scheduler
-click Create Task. (not the Basic one)
-Give it name, click Run whether user is logged in or not, configure for Windows 7, 2008
Triggers Tab
-New, (drop down menu) Begin the task at startup, click ok
Actions Tab
-New, Start a program, Browse (to .exe) click ok
Conditions Tab
-Uncheck the box that says to Stop the task if ran for 3 days. (so it runs forever)
Back to General Tab
-Click ok and it will prompt for Administrator password
Click Task Scheduler Library (underneath Task Scheduler in Server Manager from step 1)
Run it ! (should work when you reboot too) I see my program running in task manager, so far so good!)
#3 by Infrabasse on July 8, 2011 - 8:39 am
Quote
Hi,
Thanks for putting together this guide in such a comprehensible way
However I’m still having trouble with step 6
I’m getting the exact same result as if I only typed:
sc create
It doesn’t tell me:
[SC] CreateService SUCCESS
Any idea why I’m getting this?
All previous steps worked just fine.
#4 by Jack on July 8, 2011 - 6:42 pm
Quote
Sounds like it is not recognising the command line parameters. Most likely cause would be removing the spaces between the equals sign and parameters (see note in article). Try copying and pasting directly from this blog post.
#5 by Infrabasse on July 9, 2011 - 9:00 am
Quote
Thanks for the fast reply. That’s what I had done though. Tried again, I get the same
Maybe I’ll try the technique involving a dedicated user converted to a service.
#6 by Danb on July 12, 2011 - 5:39 am
Quote
It’s to do with the quotations in that code snippet. They’ve allowed slanted speechmarks. If you copy and paste the code, and then re-type the quotation marks, it works.
#7 by Jack on July 14, 2011 - 2:13 am
Quote
Thanks danb, I’ve fixed the issue now.
#8 by Paul on July 15, 2011 - 6:39 am
Quote
When i try to start the utorrent service, i get a popup dialog saying “The utorrent service on local computer started and then stopped. some services stop automatically if they are not in use by other services or programs.
any ideas would be great thanks
#9 by sirryche on July 24, 2011 - 11:35 pm
Quote
same problem with paul any fixes?
#10 by Jack on July 25, 2011 - 12:26 pm
Quote
Yes the fix is to make sure regular quotation marks are being used not the fancy left/right quotation marks
#11 by Niklas on July 27, 2011 - 1:03 am
Quote
The only way i get the webUI to work is if I am loged in by remote desktop to the server. If i close the remote desktop the webUI stops.
I also get the same problem as Paul and I dont relly understand Jack´s answer. What is wrong?
#12 by Jack on July 27, 2011 - 11:21 am
Quote
@Niklas, This is because you are running uTorrent as a desktop application, not as a service. When you logoff via remote desktop it will kill all applications that are running. Services keep running even if nobody is logged in. Read step 3 carefully and try again?
#13 by Rob on August 18, 2011 - 11:34 pm
Quote
Great tutorial….Thanks for the effort…
#14 by Jan on August 22, 2011 - 10:39 pm
Quote
Great tutorial, very detailed. However, I do have the same problem as Paul; “Some services stop automatically if they are not in use by other services or programs”
I’m starting to think this has something to do with security settings and permissions, but I’m not sure. Any response to this problem would be very appreciated. I’m running 2008 R2.
#15 by Steve on August 27, 2011 - 12:55 pm
Quote
I’m trying to do this on my PC and I’ve got the service running, which is great. The problem I’m running into is once the service starts, it doesn’t start downloading, and the RAM utilization is HALF of what it is when the GUI is running. I can load the GUI and instantly IT’S ALIIIIIIIVE!… but when the service is active, not so much.
Any ideas?
#16 by Steve on August 27, 2011 - 12:58 pm
Quote
And I’m an idiot. The user log on was Local Service. Changed it to my actual user name/password and we’re in business.
Thanks!
#17 by Dave on September 6, 2011 - 3:21 pm
Quote
I have the service running and everything but when I attempt to add a file to the web interface nothing happens. I click add>browser> I get to the file and click OK then nothing.
#18 by japipoju on September 29, 2011 - 3:01 am
Quote
Has anyone had any luck making this work with uTorrent v3, cause I’ve tried it but it doesn’t add any torrent files via web ui.
#19 by Jon on September 30, 2011 - 8:04 pm
Quote
I have the same problem as #17
#20 by Mike on November 1, 2011 - 4:58 am
Quote
I followed the instructions exactly (except was also using uTorrent 3.0). I had the same issues as #17 (i.e., the service would run, but I couldn’t log in using the uTorrent 3.0 version of WebUI, and it wouldn’t load a torrent when I dropped it in the autoload folder). I switched the uTorrent service login from LOCAL SERVICE to ADMINISTRATOR (which I’ll now go back and create a new user account for, so I can avoid using ADMINISTRATOR) and it worked like a charm.
#21 by MickEE on November 2, 2011 - 3:10 am
Quote
Hello!
I have been trying to install uTorrent on my Whs 2011 many times now and I´m always getting the same error “The µTorrent WebUI does not seem to be installed. Click here to try to install it, or see the guide for more details.”
I have tried to uninstall/reinstall like above a couple of times but without result. I can see that uTorrent running in service’s but still not working.
The gui works, via http://YourIP:UTport/gui/, before i start trying to make uTorrent to run as a service. I was then logged onto whs with uTorren running.
Can someone plz help me!
#22 by Sam on November 11, 2011 - 2:30 am
Quote
I havent managed to set up my WHS 2011 box yet but when I do this will be one of the first things I do, great tutorial.
My question is whether you can access the WebUI remotely, outside of the network, for instance at work
#23 by Jamie on November 19, 2011 - 2:42 am
Quote
Guys that posted for #17, #18 and #19, I had the same problem as you.
Finally resolved it today by navigating to C:\Program Files (x86)\uTorrent and then running through Step 8 above and enabling permission for LOCAL SERVICE to modify the folder (I think this way the torrent can now be stored in the C:\Program Files (x86)\uTorrent folder, whereas before it was being denied permission).
Hope this helps.
Regards,
Jamie
#24 by Jamie Lamb on November 20, 2011 - 4:25 am
Quote
For those of you above that are having problems adding torrents, the fix is to repeat step 8 above for the folder C:\Program Files (x86)\uTorrent
When you add a torrent it wants to store it in this folder, but you haven’t given the service permission for it to store it there. Give the folder the correct permissions and you’ll be good to go.
Cheers,
Jamie
#25 by James on December 9, 2011 - 7:38 am
Quote
Excellent tutorial for a WHS noob (me).
I make it all the way to STEP 9. When I attempt to start the service I get the following error:
“Windows could not start the uTorrent service on Local Computer.
Error 2: The system cannot find the file specified.”
I’ve rechecked the spelling and believe I have everything in order. Any ideas?
#26 by James on December 9, 2011 - 8:06 am
Quote
Edit: Okay, it looks like I added an unwanted space in STEP 6. So, I deleted the service, then recreated it using correct verbiage and now get the exact problem as #8, #9, #14, etc. “The utorrent service on local computer started and then stopped. some services stop automatically if they are not in use by other services or programs.”
I typed this in manually (I still don’t know how to control the WHS from a client PC or if it is possible), so I don’t know how I could have left or right quotes. So, any ideas?
Thank you!
#27 by James on December 20, 2011 - 2:13 am
Quote
So, I got it. I deleted the service again, and did the guide verbatim from start to finish and it has worked for about a week now. Great guide, and my problems were essentially due to typos and not re-doing all the steps after I re-did step 6. Thank you, even if this never goes on your page, I appreciate your guide!
#28 by welchwerks on December 22, 2011 - 10:58 am
Quote
AnyServiceInstaller
does work on WHS 2011 and storage server 2008 R2 essentials
#29 by Olivier on December 29, 2011 - 10:47 am
Quote
Hello,
I have utorrent 3.1, and the same error message as MickEE (#21): “The µTorrent WebUI does not seem to be installed. Click here to try to install it, or see the guide for more details.”
The solution was easy for me: I just have to uncompress webui.zip in C:\Program Files (x86)\uTorrent.
Regards,
Olivier
#30 by terodeg on January 12, 2012 - 12:57 am
Quote
there is a way to make utorrent remote service run in utorrent running as a service mode? i can start the service utorrent as srvany.exe but then utorrent remote not working and also webUI not working.
#31 by Judson on January 29, 2012 - 4:38 am
Quote
For people having the error “webui not being installed” I just needed to run webui once from my server .. I then closed out, logged off and I could then access webui from remote pc’s.
#32 by Chris on February 14, 2012 - 6:02 am
Quote
First, thanks for this. I was setting this up on an htpc where I have one user who’s always on (for the front end), and a secondary user account I use for actual desktop use through a rdp session. I wanted to be able to manage utorrent through this secondary account, but didn’t want to have to leave it logged on. So a service was definitely what I was looking for.
Now, my only issue I had, was that apparently LOCAL SERVICE didn’t have the necessary permissions to the uTorrent folder in Program Files. After, assigning this (the same as the downloads directory) and restarting the service, the webui interface loaded just fine.
Thanks again!