I accidentally removed my server admin // Lost admin on self hosted server

I’m mad, I can’t figure out how to get server admin back on my server. I’m the only one in it.

I’ve looked at all the other support things and they do not work please help before I punch my monitor


Link to sulution:

Are you the creator of the server?

If you have created the server, you got a server query login file. In order to that file you can login to the query via Putty, YaTQA, etc. After logging in you can add your client to serveradmin.

If you are not the creator of the server, you may ask your server provider.

Step 1: Determine Your Hosting Situation

Before proceeding, determine whether you host the server yourself:

  • Do you host your own TeamSpeak Server and you have ServerQuery access?

:white_check_mark: If yes, proceed to Step 2.
:x: If no, proceed to Step 4 or Step 5.


Step 2: Check for Your Server Admin Password

To regain admin access, you need the serveradmin password provided when you first started your TeamSpeak server.

  • Do you still have this password?

:white_check_mark: If yes, proceed to Step 3.
:x: If no, check this post for further guidance:


Step 3: Restore Admin Permissions Using ServerQuery

If you are unfamiliar with ServerQuery (telnet), refer to this guide:

Steps to Connect via Telnet (Putty or Linux Command Line)

  1. Download Putty: http://www.putty.org/
  2. Open Putty and enter your TeamSpeak server address in the ‘Host Name’ field.
  3. Connect to your server using your TeamSpeak client.
  4. Go to Permissions → Server Groups and find the Server Admin group ID (e.g., Server Admin (6) → 6).
  5. Use a telnet client (e.g., Putty) to connect to the ServerQuery Interface (Default Query Port: 10011 ).
  6. Enter the following commands:
login serveradmin YOUR_PASSWORD
use port=YOUR_VOICE_PORT (e.g., 9987)
tokenadd tokentype=0 tokenid1=YOUR_SERVERGROUP_ID tokenid2=0
  1. The output will display a token, e.g.,
token=UadpbuJLf6FL6bWVuJ0W9+yml5btScRFJSs9NSuN
  1. Use the token to regain admin permissions:
  • TeamSpeak 6: Right-click the ServerUse Privilege Key, then enter the token.
  • TeamSpeak 3: Go to Permissions → Use Privilege Key, then enter the token.

Your admin permissions should now be restored.


Step 4: Request Permissions from Another Admin

If you cannot restore your permissions using ServerQuery, check if another admin can help:

  • Is there another admin on the server who can restore your permissions?

:white_check_mark: If yes, ask them to grant you Server Admin permissions.
:x: If no, proceed to Step 5.


Step 5: Contact Your Server Host

If you are not the server owner and have no other way to regain admin access, you must contact your hosting provider. Politely request them to generate a new privilege key for you.

If you own a TeamSpeak Community, refer to this post for additional guidance:

3 Likes

In newer clients this group ID is not shown as described, so if you don’t see it you just need to hover your mouse pointer over the group and the ID will be shown in a tooltip that pops up.

1 Like

You are right… it was in the Old Client.

Accidentally removing myself from the manager’s personality on my own server has a situation to make me a new Api-Key I beg it does not let me create a new server

Do you have Rcon or querry access?
when you created the server it came with a serveradmin login. you should be able to use that login.

Have a look at this post:

Might help you out

i don’t know what to do i go there and do that but its not working

can u send me link to video that speak of this

lets start off by answering questions that are being asked in that post i linked.
Question 1: Do you host your server yourself, meaning you have access to the Admin Server Query group?
Question 2: Do you still have the password for the “serveradmin” account? (received upon the first start up of your TeamSpeak 3 server)
If yes… If you do not know how to use Server Query (telnet), please take a look at this thread: http://forum.teamspeak.com/showthrea…e-Server-Query

You still need help?
I can’t help you with a video or any other way if I don’t know anything from your server. So if you still need help. Awsner the first 2 questions on the post I linked before.

I’m running free TeamSpeak3 server 3.12.1 on my VPS (Ubuntu 20.04). After an update (untarred new version into same directory) I have lost admin rights to the virtual server. All options are greyed out. Same thing in the permissions menu, I’m simply a guest now. Presumably because I have overwritten all permissions.

Tried to get admin permissions by using the privilege key, but that doesn’t work because it was a one use only key. How do I get control over the server back?

Privilege keys are one time use and are invalid once used.
The reason you’re not having permissions is very likely because you’re using a different identity. Unless you also lost all channels on the server in which case you didn’t update the server correctly, but created a new installation.

5 Likes

Hi

You have several solutions, you can connect by telnet or with third party software like YaTQA with your Query credentials (much simpler) for server rights.

If you forgot your query password, stop your ssh server and run the command

./ts3server_startscript.sh start serveradmin_password=Your password

cordially

1 Like

Guys thanks for your help, I figured it out. The problem was that I connected from another computer with the same nick but a different user id. After ex- and importing the user id to the second computer I was server admin again. Sorry for the confusion.

That was it :wink:

Hello,

If I can advise you, I advise you to create a MyTeamSpeak account which allows you to save your favorites as well as your identities and also to have badges.

Create an account

now you need to connect to the client.


Tools ► Options ► myTeamSpeak

PS : and it allows you to have the new functionality of the new TeamSpeak 5 client.

cordially

You know your ”advise” 'bout creating myTS account is worth nothing, because in order to post on forum, they need one? So why?

hello team, I created a teamspeak server, then accidentally deleted the admin role. now i have no more permissions !!! please help me … (port not yet released)

1 Like

Assuming you have the query password for the user “serveradmin” when you made the server, you are able with that to recreate the “Server Admin” group and reassign it to yourself and create a privilege key and then use it. If you don’t you are basically screwed.

The other possible case is to touch the database file directly, but this is not supported and not recommended if you are not good at.

1 Like