Reset Unifi AP to factory Defaults

So you want to factory reset your Unifi AP, but probably the reset button doesn’t seem to work. Luckily there is another option to reset the access point. In this article, I will walk you through the step that is necessary to reset your access point.

Using the Reset Button

First, the simple way, using the reset button. The reset button has two functions on the Unifi Access Point:

  • If you press and release the button quickly, then the access point will only restart.
  • To reset the access point to factory settings you will need to hold the button for at least 5 seconds.

There is also an option to reset the Unifi Access Point remotely if you are using the Unifi Gigabit PoE adapter. Some of the PoE Adapters have a reset button to remotely reset your Unifi Access Point. You can check this datasheet to see if your adapter has a remote reset button.

Reset Unifi Access Point with Reset Button

Sometimes an Unifi Access Point won’t come back online after a factory reset. It will not show up in your controller as an adaptable device. Now I know you can connect to the Unifi AP with SSH, so let’s take a look at the options we have there to reset an Unifi AP.

Connecting with SSH

To connect to the access point with SSH we first need to know its IP Address. You can take a look in your router if it’s listed there, or use a free network scanner. I use Advanced Ip Scanner for that. The tool is free and really easy to use.

SSH Reset Unifi

Now we know the IP Address, we can use Putty to connect to it with SSH. Download Putty and enter the IP address and click on open. You will get a security alert which you can ignore. Just press Yes.

The default username and password for an Unifi Access Point is ubnt and ubnt

Resetting Unifi AP with SSH

When you are connected you get a welcome screen. If we enter help and press enter we get a list of the possible commands. Now, this isn’t a lot, but enough to reset the access point.

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2010-2020
 |   |  |   |  \  ||  \   |  |   Ubiquiti Networks, Inc.
 |______|___|  /__||__/   |__|

      Welcome to UniFi UAP-AC-LR!

LA-WAP-Living-BZ.v4.3.24# help
UniFi Command Line Interface - Ubiquiti Networks

   info                      display device information
   set-default               restore to factory default
   set-inform <inform_url>   attempt inform URL (e.g. set-inform
   upgrade <firmware_url>    upgrade firmware (e.g. upgrade
   fwupdate --url <firmware_url|firmware_name> [--dl-only] [--md5sum <sum_of_fw>]
            [--keep-firmware] [--keep-running] [--reboot-sys]
                                   new firmware update command
   reboot                    reboot the device

So first let’s check why it’s not connecting. Get the device information with the info command.

UBNT-BZ.v3.9.27# info

Model:       UAP-Pro
MAC Address: 04:18:d1:12:ef:e9
IP Address:
Hostname:    UBNT
Uptime:      80 seconds

Status:      Unable to resolve (http://unifi:8080/inform)

In this case, the device is unable to resolve the controller. The controller should be available on https://unifi:8443. If that is working then there is a reason why the Unifi AP can’t connect to it. It might be in the wrong IP range (that was the problem in this case), or it can be a DNS issue.

If you are sure that the Unifi Controller is available at http://unifi then we need to look further. A possible issue can be that the Access Point was connected to another controller or that the device was removed from this controller.

Now the best thing to do is to reset the device to factory defaults and set the inform URL to the correct address:

  1. First, reset the Unifi AP with:

    The Unifi Access point will reset and reboot. It might get another IP address, so if you can connect to it again, scan your network for it. (or use the mobile app to find the device)

  2. Set the inform address:

    If your Unifi Controller is available on a different address then http://unifi, then you can set the address with the following command:

    You should now see the Unifi Access Point in the controller ready to be adopted.

I hope this post helped you to reset Unifi AP to its factory defaults and then you can adapt it again in your controller. If you have any questions, just drop a comment below. Check out this post if you want to know more about how to set up an Unifi Access point and some tips for the best performance.

Get more stuff like this

IT, Office365, Smart Home, PowerShell and Blogging Tips

I hate spam to, so you can unsubscribe at any time.

23 thoughts on “Reset Unifi AP to factory Defaults”

  1. tx pal

    i’m setting up some old (second hand, fw 4.3.21) AP and a controller on elementary os with docker, and the AP was continously “adopting”. They were hardware reset and with your explanation i discovered that he was informing on de 172 docker address and not the LAN addres. Then I did “set-inform” and it came alive ….
    This for this post, you”re not so lazy admin because you took the time to write a blog that help sb 2 years later.
    Zoals ze zeggen van een programmeur “een goeie programmeur is een luie programmeur” gaat dit blijkbaar niet op voor systeembeheerders :p

    Tx pal

    PS even uitzoeken hoe docker de unifi controller het lan adres kan laten broadcasten …

  2. How to reset Unifi AP with ssh, bcoz i have no chance to press RESET Button and i forgot ssh username and password. How can i solve it? Please help me. thank you guys.

  3. Any other options ?????

    I got a AP-AC-Lite 2nd hand and after attaching it to my controller has “managed by other” I have done the reset via the physical button on a number of occasions and this doesnt seem to help. I cannot SSH into due to old password clearly being still enforced. What other options do I have

  4. Hey,
    Thanks for the details of reseting a router. So, if I reset my Unify router to factory setting, would it be possible to use it with other network provider, e. g. TIME?

  5. Hi – The AC just hangs up on provisioning and never does anything after that. This is after I did a factor reset.

  6. Can you please help me. UAP reset button does not work at all, tried many iterations with reset button and power cycles. Next step, I tried to reset the device with the ‘forgot function’ in the controller. So now the UAP is not on my controller anymore and it failed to reset the UAP. The blue light is still on. When I try to ssh into the device, it will not accept the password/username, ubnt. As I understand it, a random username and password is created when you adopt the device, but I don’t have access to that info, because the UAP is ‘forgotten’ from my controller. If the reset button does not work it is probably a hardware failure? I feel the click when I press it, but nothing happens.

    • Are you sure that you hold the reset button for at least 5 seconds? Try to use a paperclip or something else. You should feel a slight click when you press the button. After factory reset, the login is restored to the default unbt login.

  7. Hi.
    This is very helpful, thank you. One question though, how do I find the address of the Unifi controller?

  8. Thanks for this information. I am having a terrible time. I needed to reset everything on my system, starting with my modem, a netgear DM200. I reset all of my ubiquiti gear (usg, ac-ap-lite and an AC-mesh) back to factory settings , but nothing shows up on my controller. I then used your resolve method here, using my desktop ip, as it is the controller host, but still nothing? whatever help you or anyone could give would be appreciated. Thanks.

  9. Beste Ruud,
    Ik heb mijn controller geïnstaleerd op een PI. Alle AP’s waren eerst met een controller verbonden op Windows 10 (daar werkte alles) . Ik probeer dus te migreren.
    Heb AP factory reset gedaan (set-deafult) en opnieuw SSH.
    dan set-inform http://ip_van_pi:8080/inform
    met info komt er dan de melding: Unable to resolve
    en even later: Unknown[11]

    middels en browser: geeft een 400.
    portscanner geeft aan dat de poort “LISTENING” (dus open) is.

    Ik hoop dat je mij op weg kunt helpen om dit opgelost te krijgen. Alvast bedankt

  10. Beste Ruud, Ik heb een probleem met mijn Unifi Acces Point. Hij brand groen, maar ik kan hem niet benaderen via het IP-adres. Ik moet nieuwe firmware updaten, dat laat ik ook doen, maar er gebeurt verder niets. Ik heb nu een andere provider en een ander IP-adres gekregen. Ik heb een reset uitgevoerd en via IP scanner het IP-adres kunnen achterhalen. Maar het lukt me niet de firmware te downloaden. Heb jij een idee hoe ik dit zou kunnen oplossen?

    • Waarschijnlijk staat het inform url niet goed. Heb je al geprobeerd om met ssh (via het programma Putty) in te loggen? Anders kan je nog even de Unifi App proberen op je mobiel.

  11. Advanced IP Scanner isn’t detecting any unifi devices. They are all solid white, what could be the problem?

    • Steady white means the AC is in factory default mode and is waiting for adoption. If you can’t find it in the network, are you really sure it’s probably connected? Try testing different network cables, check if DHCP is running on your router (probably is, but double check it).

Leave a Comment