INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Media Server as windows service?  (Read 3842 times)

sfumato

  • Regular Member
  • Member
  • *
  • Posts: 1
  • Change this by choosing profile
Media Server as windows service?
« on: June 21, 2004, 12:52:57 am »

Is there any explicit support/option for installing media server as a service? If not, have people had success doing it with the windows resource kit (INSTSRV, etc)?

Hope this isn't a hackneyed topic - I poked around the forums & help, but didn't find anything.

Thanks!

P.S. Awesome[/i] product - it's been a good friend for years now.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re:Media Server as windows service?
« Reply #1 on: June 21, 2004, 07:17:01 am »

No, but there is a utility that people have used to do this.  I don't know the name, but you could try download.com.
Logged

miked

  • Regular Member
  • Recent member
  • *
  • Posts: 33
  • I'm a llama!
Re:Media Server as windows service?
« Reply #2 on: June 21, 2004, 11:54:38 am »

Here's what I did for XP this weekend, almost step by step,
it took 5mins after the download.

Download the Windows 2003 Resource Kit
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

You want two files from it after you have installed it.
instsrv.exe and srvany.exe
I put them in the same directory as Media Server.

Change to that directory then
instsrv "MediaServer"  "C:\....\srvany.exe"
change c:\...   to your path

Now run regedit, you need to create a registry key and 3 entries
Go to
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MediaServer]

Use Edit -> New -> Key
Give it the name   "Parameters"
In the new Parameters key create these string values, change the actually values to be correct for you
"AppDirectory"="C:\Program Files\J River\Media Center"
"Application"="C:\Program Files\J River\Media Center\Media Server.exe"
"AppParameters"=""

Now you have to edit the new MediaServer service details
Right Click "My Computer" -> Manage -> "Services and Applications" ->  Services
Find the "MediaServer" service and right click and choose Properties.
Check it is set to "Automatic", then choose the "Log On" tab
Tick the "This Account" button  and give it details of a local account that can logon and run Media Server interactively.

Now switch back to the General Tab and click Start.


That's it, the new service should be running Media Server.

Usually if something doesn't work check the registry changes are correct.  If you are not using XP, the NT and W2K Resource Kits have the same commands

Good Luck

Mike

Logged

laserheat

  • Regular Member
  • Recent member
  • *
  • Posts: 5
  • nothing more to say...
Re:Media Server as windows service?
« Reply #3 on: June 21, 2004, 01:30:57 pm »

I have been using firedaemon to do this for Media Server.  It will let you run any application as a service.  There is a free version that lets you run one app.  If you need to run more than one application, you would have to use the paid version.  www.firedaemon.com

Works great for me!

Eric
Logged
Pages: [1]   Go Up