Community Forums Today's Posts     Member List     Archive    
Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2005
    Location
    CANADA,QC
    Posts
    2

    Question Can I setup TeamSpeak as a windows SERVICE ?

    I have team speak installed on windows 2003 server, But when i log off, TS turn off. Can I install TS as a windows SERVICE ???

  2. #2
    Join Date
    Oct 2005
    Location
    CANADA,QC
    Posts
    2

    Thumbs up OK, i got my anwser ! thx

    Setting up the Teamspeak Server as a service in NT/2K/XP June2/2003...
    .......................................
    Disclaimer: This requires that you edit your Windows registry, if you are comfortable doing so then you already know the risks, and will take reasonable precautions.
    If not then heaven can help you, cause I won't, and neither will the Teamspeak Team.
    .......................................


    First, you will need two(2) freely available Microsoft programs in order to set up your service.
    - instrv.exe
    - Srvany.exe

    Instsrv.exe is the program used to create a Windows service
    Srvany.exe is a program that allows other programs to run as a service.
    These files are available from Microsoft's Windows Resource Kit, or from the web
    To acquire them you can try here as a starting point, but as MS moves things around so much be prepared to look around on the site
    www.microsoft.com/windows/reskits/
    these files are also mirrored on numerous site around the web, so you can get them elswhere.

    Remember, ask God first, and then look for a good search engine. One of them is bound to answer.
    ............................................

    Assumptions:
    I did this for teamspeak2 so my Teamspeak server program is in the default.
    "C:\Program Files\Teamspeak2_RC2" directory. I will refer to this directory(folder?) as the Teamspeak Directory. If this is not your case just substitute the appropriate Directory..

    I have tested this on W2K and win XP pro.

    And that you have some idea about paths and directories.
    You are familier with registry editing on the windows platform.

    ok lets try this...

    Step 1.
    Put Instsrv.exe and Srvany.exe in your Teamspeak directory.

    Step 2.
    From the Start button, go to Run, then type cmd. This will open a command window, change to your Teamspeak directory by typing
    damn ner anything you want but this mihgt work..

    c:
    then
    cd C:\Program Files\Teamspeak2_RC2
    then ENTER

    (if step 2 was hard to follow think about leaving now, understanding paths is important)

    Step 3.
    Ok you made it...

    Type> instsrv Teamserver "C:\Program Files\Teamspeak2_RC2\srvany.exe" and press ENTER.
    This creates a service called "Teamserver". You can use a different service name if you want. but why would you?

    If the process is successful, you'll see the following message:

    CreateService SUCCESS at creating: Teamserver.

    Step 4.
    -Open Regedit by clicking Start->Run, then typing regedit and pressing ENTER.
    -Navigate to the following registry key:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servi
    ces\Teamserver

    Step 5.
    Now we need to tell Windows where, what, and how..
    as in what application and where is it....

    In the left pane of the registry window, click on the Teamserver key.
    Then, in the right pane, right-click and choose NEW -> KEY
    Name the key Parameters

    Step 6.
    In the newly-created Parameters key, right-click and choose NEW -> STRING VALUE
    Name the value AppDirectory

    Step 7.
    In the newly-created Parameters key, right-click and choose NEW -> STRING VALUE
    Name the value Application

    Step 8.
    Double-click on the String Value "AppDirectory". This will bring up the Modify dialog box. Set the value for

    AppDirectory to
    C:\Program Files\Teamspeak2_RC2


    Step 9.
    Double-click on the String Value "Application" Set the value for Application to
    C:\Program Files\Teamspeak2_RC2\server_windows.exe

    Step 10.
    Close Regedit

    Step 11.
    Open the Services application to modify the service settings (in XP, Start->Settings->Control Panel, Double

    click Administrative Tools, Double click Services). In Services you should see Teamserver, double click on it

    to open its properties.

    Set 'Startup type' to Automatic then click on the Log On tab.
    In Log On..
    uncheck the box that says "Allow service to interact with desktop". We don't need to see that opening screen,

    no matter how sweet it is.
    It will run fine as a Local System account. (The security aware will run it under a restricted account, but

    that is for the paranoid and beyond the scope of this note)

    Step:12
    You can now click back on the 'General' tab to test the startup of your server. Click the 'start' button and

    the server should start up.

    If it does not, you probably entered something wrong in the registry (path, executable location, etc). Go back

    through steps 4-10 and make sure all the paths are correct,and watch out for typos.


    The new Teamserver service should function as any other system service. If you set it to Automatic, it should

    always start when the system is booted (and before anyone logs into the system with the rest of the services).

  3. #3
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,298

  4. #4
    Join Date
    Jun 2008
    Location
    Oregon, USA
    Posts
    18
    This works well for Teamspeak 3 server also. Just make sure you follow the steps and point to the right .exe file. I have Teamspeak 3 running on my Windows Server 2003 perfectly using this as a "template" to add a custom service.

  5. #5
    Join Date
    Oct 2011
    Posts
    1
    A few of our customers are using our commercial application (AlwaysUp) to start the TeamSpeak server when their PC boots. We have created a tutorial showing how to run TeamSpeak 3 as a Windows Service to guide others who wish to use AlwaysUp.

  6. #6
    Join Date
    Dec 2011
    Posts
    2
    Thanks for the explanation above.
    Any ideas how it works if I start my server with arguments like "inifile=ts3server.ini" ?


    Thank you in advance,
    Del

  7. #7
    Join Date
    Jan 2010
    Location
    Catalunya
    Posts
    2,330
    You talk about TS3 or TS2 ', because this sub-forum is for TS2 support

  8. #8
    Join Date
    May 2007
    Location
    Eastern NC
    Posts
    1,362
    On my old Windows 2000 Pro / TeamSpeak 2 server I had an app FireDaemon or something like that. I switched to Linux for TS3, very happy that I did.

  9. #9
    Join Date
    Dec 2011
    Posts
    2
    Quote Originally Posted by Jordi View Post
    You talk about TS3 or TS2 ', because this sub-forum is for TS2 support
    Does that matter ? I need to start a process on windows with attributes. Looking for your tool now, Screech, thanks for your answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TeamSpeak RC2 and Freebsd 5.3
    By NeonLibra in forum [TeamSpeak 2] Server Support
    Replies: 10
    Last Post: 23-05-2005, 11:03
  2. TeamSpeak as a service?
    By jason835 in forum [TeamSpeak 2] Server Support
    Replies: 3
    Last Post: 11-11-2004, 16:25
  3. Replies: 1
    Last Post: 25-01-2004, 10:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •