×

UniFi - How to Reset Devices to Factory Defaults

Overview

This article describes different methods of resetting a UniFi device to factory defaults. We'll discuss options to reset the unit via the UniFi Network Controller software, SSH, and physical reset. This article applies to all device models, but the location of the reset button will vary. Reference the specific Quick Start Guide of each product to locate it (accessible in our Downloads page, using the left hand product menu to filter down to your product).

For UniFi Controller Hosting devices (Dream Machines and Cloud Keys) please see this article: UniFi - UDM/UCK: How to Reset the UniFi Controller to Factory Defaults.

ATTENTION:Regardless of the method used, do not disconnect power to the device during the reset process. Resetting your device will wipe out all history and running configuration. The device will show disconnected on the UniFi Network Controller web UI. When performing a physical or SSH factory default reset, it is also advised to "forget" the device from the controller by following instructions in the UniFi Network Controller Reset section. "Forgetting" the device will prevent it from being "re-adopted" before it is ready.

Table of Contents

  1. UniFi Network Controller Reset
  2. SSH Reset
  3. Physical Reset
  4. Troubleshooting: UAP not Resetting
  5. Related Articles

UniFi Network Controller Reset

Back to Top

If the device has been adopted by the UniFi Network Controller, it can be reset to factory defaults from the controller. Do so by "Forgetting" the device.

  1. Launch the UniFi Network Controller. In the Devices section, click on the device you wish to reset. This will open the Properties panel.
  2. Select the Config section (gear icon), and scroll down to click Manage Device to expand.
  3. Click the Forget button. This will erase all configuration and history for that device, effectively resetting it. Remember to not disconnect from power during this process.
  4. After resetting your device, you are ready to adopt it: UniFi - Device Adoption.

SSH Reset

Back to Top

Access the device via SSH, and once in, issue the command set-default and hit enter. The device should quickly reboot with factory default settings. Remember to not disconnect the device from its power source during this process. If that command doesn't seem to work, try using: syswrapper.sh restore-default.

It's recommended to accompany this with Forgetting the device as described in the first section if it appears as adopted in the UniFi Network Controller. After resetting your device, you are ready to adopt it: UniFi - Device Adoption.

Physical Reset

Back to Top

Locate the reset button of the device, using the Quick Start Guide, accessible in our Downloads page. Use the left hand product menu to filter down to individual models and find the QSG under the Documentation subsection on the page.

  1. Use a paperclip or a similar thin, firm object to press down and hold the reset button for 10 seconds while device is connected to power. If unsure of when to release the reset button, information on what to watch for is provided in each device's Quick Start Guide.
  2. Release the button. The LEDs on the device will turn off for a moment.
  3. Do not disconnect the device from its power source during the reboot process.
  4. The device will come back to life, LED patterns showing the device going through rebooting process and then stopping in the "ready for adoption" pattern. See Related Articles below for LED patterns and their meaning.
  5. Remember to also Forget the device using the method explained in the first section if the device appears in the Devices list in the UniFi Network Controller.
  6. After resetting your device, you are ready to adopt it: UniFi - Device Adoption.

Troubleshooting: Device Not Resetting

Back to Top

If despite numerous tries to reset the device, it appears not to be resetting and boots back up to a blue LED, it could be because of one of the following reasons:

1. The device is connecting back to the UniFi Network Controller because it wasn't forgotten (see the Reset via Controller method) and is retrieving its old configuration and re-adopting after a successful reset.

2. The reset button was not held down correctly for long enough. The button should be held down for about 10 seconds. If unsure of when to release the reset button, information on what to watch for is provided in each device's Quick Start Guide. If LED patterns suggest the device is being reset, going through reboot process and then skipping over to "Adopted" status, then this is indicative of what is mentioned in point 1.

3. If it is still not working, make sure to try all the other methods described in the article and swapping out cables and PoE injectors to eliminate any issues related to power or connectivity during the reset process. 

Related Articles

Back to Top

UniFi - Device Adoption

Intro to Networking - How to Establish a Connection Using SSH

UniFi - LED Color Patterns for UniFi Devices

Was this article helpful?
48 out of 152 found this helpful
Can't find what you're looking for?
Visit our worldwide community of Ubiquiti experts for more answers
Visit the Ubiquiti Community