How to reset the password on a UniFi controller (Windows)

Опубликовано: 30 Март 2026
на канале: Lantorg
16,635
153

Hello everyone, there are times when you need to recover or reset the password for a Ubiquiti UniFi controller, but the built-in functionality of the controller doesn't allow you to do this because it's impossible to send a recovery email. We suggest simply resetting the password and then changing it to a new one.
To do this, we need to download the Mongo database manager. When connecting to the local host database, change the port to 27117. In the database structure, find the "admin" user and open it in the query editor window. The "X shadow" field contains the admin password, only encrypted. We need to replace this value with a known password. Replace it and save. Everything is ready; now we can launch the controller with the username "Admin" and the password "password."

Hash: "$6$9Ter1EZ9$lSt6/tkoPguHqsDK0mXmUsZ1WE2qCM4m9AQ.x9/eVNJxws.hAxt2Pe8oA9TFB7LPBgzaHBcAfKFoLpRQlpBiX1"

The Admin user has now been assigned a password: password
Don't forget to change it later!
If you need to work with a UniFi controller on a regular basis, we highly recommend purchasing the Ubiquiti UniFi Cloud Key.
https://lantorg.com/products/ubiquiti...
UniFi Equipment:
https://lantorg.com/products?keyword=...

Look at our wide selection of networking equipment on our website:
https://lantorg.com

Follow us on VK:
https://vk.com/lantorg

Follow us on Twitter:
  / lantorg_com  

Follow us on Instagram:
  / lantorg  

Facebook Group:
  / lantorg  

Ready for a conversation:
  / lantorg-com  

We're on Pros:
https://plus.google.com/b/11761587143...

Telegram:
t.me/lantorg