Readers will learn how to reset UniFi devices to factory defaults using different methods.
- Applicable to UniFi devices such as Access Points (UAP) and Switches (USW) that are adopted by the UniFi Network Controller.
- See the UniFi - UDM/UCK: How to Reset the UniFi Controller to Factory Defaults help center article for more information on resetting the UniFi Dream Machine (UDM/UDM-Pro), and UniFi Cloud Key models (UCK-G2, UCK-G2-PLUS, UC-CK).
- Resetting the device to factory defaults will wipe out any configuration files and device history. Export and save your backup configuration(s) before following the steps from this article.
Table of Contents
- Forgetting a Device through the UniFi Network Controller
- Resetting a Device to Factory Defaults using SSH
- Resetting a Device to Factory Defaults using the Physical Reset Button
- Troubleshooting Devices that are not Resetting
- Related Articles
Resetting a device to factory defaults using either of the methods below will will wipe out any configuration files and device history. Afterwards, it is necessary to access the UniFi Controller Web UI and re-adopt the device through the Devices tab. There is more information on adopting UniFi devices in the UniFi - Device Adoption help center article.
Forgetting a Device through the UniFi Network Controller
Follow the steps below to forget a UniFi device through the UniFi Network Controller. This will clear all custom configuration and history from the device and resets it to factory defaults.
1. Navigate to the Devices tab and select the device that needs to be forgotten.
2. From the device Properties panel, select the Config tab and expand the Manage Device section.
3. Forget the device by clicking on the Forget button and confirm the action.
Resetting a Device to Factory Defaults using SSH
Follow the steps below to reset a UniFi device to factory defaults using SSH. See the Intro to Networking - How to Establish a Connection Using SSH article for more information on connecting to UniFi devices using SSH.
1. First make sure that SSH Authentication is enabled through the UniFi Network Controller. If this is already enabled, then proceed to step 6.
2. When using the Classic Web UI, navigate to the Settings > Sites > Services section and check the Enable advanced features box.
3. Apply the settings.
4. In the same section, scroll down to Device Authentication and check the Enable SSH authentication box.
5. Make a note of the username and view the SSH password by clicking on the icon.
6. Log into the UniFi device using SSH and specify the SSH username and password.
7. Run the below command after logging in to reset the device to factory defaults:
8. You will lose access to the device after running the command as it will automatically restart during the reset process.
9. Finally, forget the device through the UniFi Network Controller using the above steps.
Resetting a Device to Factory Defaults using the Physical Reset Button
UniFi devices can also be reset to factory defaults using physical reset button. The location of the reset button will differ depending on the UniFi model that you are using. The Quick Start Guide (QSG) for each model displays the location of the reset button and provides more information on the reset process.
1. Download the Quick Start Guide (QSG) for your device from the UniFi Downloads section.
2. Either search for the model using the search box or expand the model list on the left side of the page.
3. Forget the device through the UniFi Network Controller using the above steps after resetting it to factory defaults.
Troubleshooting Devices that are not Resetting
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 was not forgotten (see the above steps). After reconnecting to the controller and being re-adopted, it is retrieving its old configuration.
2. The reset button was not held down long enough when performing the physical reset steps above.
If the UniFi device is not working after the reset process, make sure to try all the other methods described in this article and try swapping out the Ethernet cables and PoE injectors to eliminate any issues related to power or connectivity.