I know this question is quite old, but just came across the same issue and wanted to share how I did that on Fedora, but generically it's the same for any Linux distribution and shed a logic for Windows users (just path will be different pretty much)
Recover Teamspeak3 server admin password
- Connect to your machine and navigate to where your TS3 installation is
- Stop teamspeak server
Start server by:
./ts3server_minimal_runscript.sh serveradmin_password=yOuR_nEwP@ssw0rd
That will make your serveradmin password reset for your Teamspeak 3 server
Generate privilege key
- Start any telnet client - you can use e.g. PuTTy
- Connect to your Teamspeak 3 server IP using
Telnet on port 10011
Login using command login serveradmin yOuR_nEwP@ssw0rd
password in command is the same as the one you set for your serveradmin previously
- Select your Teamspeak server instance (if you have only one just this would be your default:
use 1 and hit enter
Now it's time to generate new privilege key, for that use following command:
tokenadd tokentype=0 tokenid1=6 tokenid2=0
- That will return you token, which you can copy and paste in Teamspeak 3 client under Permissions > Use Privilege Key
Hope this helps anyone dealing with this situation