Don't have your Server Admin Query password? Look here!

Notes before continuing:

This guide is written for TeamSpeak 6 servers, but the same process applies to TeamSpeak 3. Note that you may need to use a different server file name. (e.g., ts3server.exe, or use the Telnet Query)

Changes that are new for TeamSpeak 6 Servers:


How to proceed on Windows

Start the .exe with these parameters first to enable the SSH Query and set the serveradmin Query account password to your desired password:

.\tsserver.exe --query-ssh-enable --query-ssh-port 10022 --query-admin-password YOURPASSWORD

How to proceed on Linux

On Linux start the startscript with these parameters to first, enable the SSH Query and set the serveradmin Query account password to your desired password.

./tsserver_startscript.sh start query-ssh-enable query-ssh-port=10022 serveradmin_password=YOURPASSWORD

How to proceed on Docker Compose

This is the minimum recommended setup[1]

services:
  teamspeak:
    image: teamspeaksystems/teamspeak6-server:latest
    container_name: teamspeak-server
    restart: unless-stopped

    ports:
      - "9987:9987/udp"   # Voice Port
      - "30033:30033/tcp" # File Transfer
      - "10022:10022"   # SSH Query

    environment:
      - TSSERVER_LICENSE_ACCEPTED=accept
      - TSSERVER_QUERY_SSH_ENABLED=true
      - TSSERVER_QUERY_SSH_PORT=10022

volumes:
  teamspeak-data:
    name: teamspeak-data

How to proceed on with a configuration file

Starting the server like this, will use all of the settings configured in the tsserver.yaml

tsserver.exe --config-file tsserver.yaml

Make sure that the file tsserver.yaml is in the root directory of the server and has the following configuration at least[2]:

server:
  query:
    admin-password: "YOURPASSWORD"

    ssh:
      enable: 1
      port: 10022

You should now be able to use the serveradmin Query account with the new custom set password.


  1. Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎

  2. Frequently Used Parameters & Environment Variables can be found here: teamspeak6-server/CONFIG.md at main · teamspeak/teamspeak6-server · GitHub ↩︎

Hello, I have a problem when installing my TeamSpeak server, that the ServerQuery password does not appear in the “service teamspeak status” or in “cat /home/teamspeak/logs/ts3server_*”

[Linux Ubuntu 16.04]

Reset a forgotten serveradmin password

To reset the query admin password a server restart is required. Please stop your TeamSpeak 3 server and then launch it with the additional parameter:

./ts3server_minimal_runscript.sh inifile=ts3server.ini serveradmin_password=test1234

You should skip the inifile parameter if you’re not using an ini file when starting the server.

1 Like

Hi there
i know a lot of articles there on how to reset or recover but im using docker and can’t use the unix commands available in the tutorials. anyway on how to reset my serveradmin password trough docker?

When starting the server add serveradmin_password=password1234 as environment variable and password password1234 should be set for serveradmin login.

3 Likes

Hi yatqa password I lost the password. I found the API code from the database, how can I open the code and learn the password?