Blog

Reset a Unifi AP to Factory Settings via SSH

Sometimes you are forced into re-installing your UniFi Controller. And then you need to force re-adoption of your APs and really don’t want to take them down from the ceiling to press that little reset button. SSH and remote access to the rescue and a nifty little script on the AP.

d18f14d4-8a74-4603-bd1a-e6254a1ff2f9.png

Reset AP to factory settings

Lookup the IP address of the AP and login using SSH and the admin account you’ve created when you installed it.

1

Default username/password:

1
ubnt/ubnt

Execute the AP reset script:

1
syswrapper.sh restore-default

The AP will reset to factory defaults and restart itself. After a little while it will show up in the UniFi UI as adoptable!

reset-ap-to-factory-settings.png

Adopt AP via Unifi Controller UI

adopt-ap-via-unifi-controller-ui.png

All done!

all-done-.png