Openfire Change Admin pass?

Hi, I was wondering if someone else has had this issue before as im trying to migrate the db to another vm and for some odd reason the admin pass is not working for the console. I tried changing it on the openfire.script

   C:\Program Files (x86)\Openfire\embedded-db

went to line and change NULL to my password and saved restart the openfire Service and nothing

     INSERT INTO OFUSER    VALUES('admin','admin',NULL,'Administrator','admin@example.com','0','0')

I was reading other guides but most of them openfire is installed on linux which in my case its installed on windows server 2012r2

Thank you

The typical ‘easiest’ solution to this is to run through the setup process again and set the admin account password during that process.

  1. Stop Openfire
  2. Edit conf/openfire.xml and change <setup>false</setup>
  3. Start Openfire
  4. Be care and play close attention to the page when you get to Admin password