To reset the Unifi password (Web Interface)
1) download the MongoDB from here.
2) Create a folder on the C drive ( unifirecover)
3) Extract mongo.exe from the bin folder into the newly created C:\unifirecover folder
4) WINDOWS + R and type cmd ( ENTER )
5) cd C:/unifirecover (then there should be a folder with the version name, CD in there, then finally a "bin" folder, CD in to that.
6) Run the following commands, those commands will show you with all the admin accounts.
mongo --port27117
<enter>
use ace
<enter>
db.admin.find()
<enter>
7) Now run the next command and replace <UserName> with the admin account.
db.admin.update( { "name" : "<UserName>" }, { $set : { "x_shadow" : "$6$ybLXKYjTNj9vv$dgGRjoXYFkw33OFZtBsp1flbCpoFQR7ac8O0FrZixHG.sw2AQmA5PuUbQC/e5.Zu.f7pGuF7qBKAfT/JRZFk8/" } } )
8) You can now login with your admin account and password below:
password