I mistakenly delete the “admin” user openfire server installed in windows 10

Hi Team,

I was just deleting inactive users and mistakenly delete the “admin” user openfire server installed in windows 10. not my admin consol is opening fine but as admin deleted i cant lodin to admin consol. I am using openfire inbuilt database ( embedded database)
Waiting for your reply …

Thanks
Talwinder.

So far i tried to add following code right below into openfire.xml config file to get admin assess to my existed used named talwinder. But not result i can logint o spark but not admin consol.

<admin> 
  <authorizedUsernames/>  
  <authorizedJIDs>talwinder</authorizedJIDs> 
</admin>

I was just deleting inactive users and mistakenly delete the “admin” user openfire server installed in windows 10. now my admin consol is opening fine but as admin deleted i can’t login to admin consol. I am using openfire inbuilt database ( embedded database)

To temporarily restore access to the admin console of Openfire, you can configure Openfire to use a a One-Time Access Token. This process is described in https://discourse.igniterealtime.org/t/how-to-reset-admin-password-on-openfire-version-4-3-1/