Start Episode Butler as Windows 7 service?

Got a program that plays well with SABnzbd? Share it here!
Post Reply
tret
Full Member
Full Member
Posts: 148
Joined: August 2nd, 2008, 2:07 pm

Start Episode Butler as Windows 7 service?

Post by tret »

Has anyone been able to get Episode Butler set up to autostart on Windows 7 Bootup without disabling UAC?
Eejit
Sr. Member
Sr. Member
Posts: 268
Joined: September 10th, 2008, 5:46 pm

Re: Start Episode Butler as Windows 7 service?

Post by Eejit »

Yes.
I have it start via Task Scheduler, triggered on user log-on and when a network is detected.
Not as a service, but it work's for me
Eejit - The name say's it all !!
Image
tret
Full Member
Full Member
Posts: 148
Joined: August 2nd, 2008, 2:07 pm

Re: Start Episode Butler as Windows 7 service?

Post by tret »

Eejit wrote: Yes.
I have it start via Task Scheduler, triggered on user log-on and when a network is detected.
Not as a service, but it work's for me
Hey Eejit, you mind posting the steps on how you accomplished this? You were able to do this without disabling or altering UAC?

Thanks
Eejit
Sr. Member
Sr. Member
Posts: 268
Joined: September 10th, 2008, 5:46 pm

Re: Start Episode Butler as Windows 7 service?

Post by Eejit »

Hi tret,
the UAC is still at the Default level. Here is the .xml for my scheduled task. Just copy it and rename it to "Start EB.xml" You will obviously have to edit a couple of tags :-
Eejit-PC-Win7\Eejit
Eejit-PC-Win7\Eejit
to suit your PC name and user account. All you should need to do is import it as a task and then edit it as you see fit.
This is the easiest way I can think of describing what I've done. This is Win 7 Pro x64 BTW

Code: Select all

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2009-10-23T14:21:05.6066</Date>
    <Author>Eejit-PC-Win7\Eejit</Author>
  </RegistrationInfo>
  <Triggers>
    <LogonTrigger>
      <Enabled>true</Enabled>
      <UserId>Eejit-PC-Win7\Eejit</UserId>
    </LogonTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>Eejit-PC-WIN7\Eejit</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>true</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>true</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
    <Priority>7</Priority>
    <RestartOnFailure>
      <Interval>PT1M</Interval>
      <Count>3</Count>
    </RestartOnFailure>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files (x86)\SABnzbd\Episodebutler\Episodebutler.exe"</Command>
    </Exec>
  </Actions>
</Task>
Hope this helps. PM if you require more info.
Last edited by Eejit on March 22nd, 2010, 11:35 am, edited 1 time in total.
Eejit - The name say's it all !!
Image
tret
Full Member
Full Member
Posts: 148
Joined: August 2nd, 2008, 2:07 pm

Re: Start Episode Butler as Windows 7 service?

Post by tret »

Hey Eejit,

Works great, thanks for posting this!

Rob
Eejit
Sr. Member
Sr. Member
Posts: 268
Joined: September 10th, 2008, 5:46 pm

Re: Start Episode Butler as Windows 7 service?

Post by Eejit »

No problems mate.  Glad you got it sorted.  You can add the "-nogui" switch to the command to make EB start quietly.
Eejit - The name say's it all !!
Image
tret
Full Member
Full Member
Posts: 148
Joined: August 2nd, 2008, 2:07 pm

Re: Start Episode Butler as Windows 7 service?

Post by tret »

Eejit wrote: No problems mate.  Glad you got it sorted.  You can add the "-nogui" switch to the command to make EB start quietly.
Yup, did exactly that since it's a little silly to have the browser launch with it.
teamscooby
Newbie
Newbie
Posts: 1
Joined: April 2nd, 2010, 5:04 am

Re: Start Episode Butler as Windows 7 service?

Post by teamscooby »

All I did was add it into the registry:

Start / Run / Regedit

HKEY Local Machine\Software\Microsoft\Windows\CurrentVersion\Run

Create a new string value and enter the location to the .exe file for Episode Butler, I also added the  "-nogui" to the end so it doesnt launch in the browser when windows starts.

hope this helps
Post Reply