Please Help! lost admin password

Hi guys!
Problem, I’m a new sysadmin. When I logged into the openfire server, it asked for a password from the administrator, but none of the passwords matched. I tried to reset the password through the openfire.xml file but without success. Please, help. Openfire version 3.7.1

I’m hoping that this is a typo, and you’re actually using Openfire 4.7.1 (3.7.1 is very old). For Openfire 4.3.1+, you can use this: For older versions, you might need to re-run the installation (adding <setup>false</setup> to the openfire.xml file, and restart), or re-install Openfire completely.