Jump to content

uTorrent as Serivce on Windows 2008R2


tstuber

Recommended Posts

heyho

I try to run uTorrent as a service on my Windows 2008R2 Server.

I did the following:

i took this guide

http://www.deciphered.net/blog/2007/04/25/howto_install_utorrent_service_windows_home_server_whs_ctp

but I used powershell to generate the service with the following prompt:

new-service -name uTorrent -binaryPathName "C:\Program Files (x86)\uTorrent\uTorrent.exe" -displayName "uTorrent" -StartupType automatic -Description "This serivce starts uTorrent locally"

all the rest is as in the guide.

Now, I'll start the service, I get message:

The uTorrent service failed to start due to the following error: 
The service did not respond to the start or control request in a timely fashion.

Looks like windows is avainting an answer from uTorrent!?

Does anyone knno how I can solve this? Any experience with uTorrent & windows 2008?

Greetings

EDIT:

Maybe is here an answer:

When starting a system service, the Service Manager expects the program to respond to the start command. If no response is received, the timeout occurs and the event is logged. A poorly-written program, started as a system service, may fail to respond to the Service Manager correctly and thus appear as if it is not running as far as the Service Manager is concerned, but may still be running nevertheless.

http://wiki.answers.com/Q/The_service_did_not_respond_to_the_start_control_request_in_a_timely_fashion

On Windows 2003 is this no problem, but maybe on Windows 2008 R2?

tom

Link to comment
Share on other sites

I found a "workaround"...

I created a service account for utorrent. Then I created a scheduled task which is running utorrent.exe after every system boot (run as service account).

if you are logged in the first time with the service account, you can make the settings you want for utorrent. After, you dont have to use this account.

finally, we have a starting utorrent, which you can administrate via webgui!

In my case, this is a acceptable solution...

Greetings

Link to comment
Share on other sites

This works a treat on 200R2 - http://forum.utorrent.com/viewtopic.php?pid=399229 - I have the latest version FireDaemon which is compatible with 2008R2 and Win7.

I have implemented this and have access to the WebUI. No workarounds required.

And here is the config files that you can simply implement.

name: utorrent_FireDaemon_config.xml

---

<!-- Generated by FireDaemon Pro v1.9 GA (Build 2251) -->

<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>

<Service>

<Program>

<Name>UTORRENT</Name>

<DisplayName>UTORRENT</DisplayName>

<DisplayNamePrefix>FireDaemon Service:</DisplayNamePrefix>

<Description>Web browser controlled Bit Torrent client</Description>

<WorkingDir>C:\Program Files (x86)\uTorrent</WorkingDir>

<Executable>C:\Program Files (x86)\uTorrent\uTorrent.exe</Executable>

<Delay>3000</Delay>

<ConsoleApp>false</ConsoleApp>

<ForceReplace>true</ForceReplace>

</Program>

<Options>

<AffinityMask>0</AffinityMask>

<Priority>0</Priority>

<AppendLogs>true</AppendLogs>

<EventLogging>true</EventLogging>

<InteractWithDesktop>true</InteractWithDesktop>

<PreLaunchDelay>0</PreLaunchDelay>

<StartUpMode>1</StartUpMode>

<UponExit>1</UponExit>

<UponFlap>0</UponFlap>

<FlapCount>0</FlapCount>

<ShutdownDelay>5000</ShutdownDelay>

<ShowWindow>0</ShowWindow>

<JobType>0</JobType>

<IgnoreFlags>3</IgnoreFlags>

</Options>

<Logon>

<AccountName>Your Account Name here</AccountName>

</Logon>

<SMF>

<SMFEnabled>true</SMFEnabled>

<SMFFrequency>5000</SMFFrequency>

</SMF>

<Scheduling>

<StartTime>00:00:00</StartTime>

<EndTime>00:00:00</EndTime>

<RunDays>127</RunDays>

<MonthFrom>0</MonthFrom>

<MonthTo>0</MonthTo>

<MonthDay>0</MonthDay>

<RestartFreq>0</RestartFreq>

<RestartDelay>0</RestartDelay>

</Scheduling>

<DlgResponder>

<Enabled>false</Enabled>

<CloseAll>false</CloseAll>

<CheckFrequency>5000</CheckFrequency>

<IgnoreUnknowns>true</IgnoreUnknowns>

<LogFile></LogFile>

<Responses>

</Responses>

</DlgResponder>

</Service>

---

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...