Unifi Controller Password Reset

1) Run the Unifi controller app and make sure you see success

2) Install MongoDB server Community from: https://www.mongodb.com/download-center/community

3) Launch a command prompt and change directory (CD) to the bin folder inside mongodb (probably C:\program files\mongodb\server\{version}\bin ). For example, type: cd C:\program files\mongodb\server\4.0\bin

4) Run command: mongo -port 27117

5) In mongo, enter command: use ace

6) In mongo, enter command: db.admin.update( { name: "admin" }, {$set: { x_shadow: "$6$9Ter1EZ9$lSt6/tkoPguHqsDK0mXmUsZ1WE2qCM4m9AQ.x9/eVNJxws.hAxt2Pe8oA9TFB7LPBgzaHBcAfKFoLpRQlpBiX1" } } );


Make sure you copy everything in bold, including the ending semicolon


The password for the admin user will now be set to "password"

Have more questions? Submit a request