×

UniFi - UDM/UCK: How to Reset the UniFi Controller to Factory Defaults

Overview

Readers will learn how to reset the UniFi Dream Machine (UDM or UDM-Pro) and UniFi Cloud Key models (UCK-G2, UCK-G2-PLUS and UC-CK) to factory defaults.

NOTES & REQUIREMENTS:
  • Applicable to the UniFi Dream Machine (UDM/UDM-Pro), and UniFi Cloud Key models (UCK-G2, UCK-G2-PLUS, UC-CK).
  • See the UniFi - How to Reset Devices to Factory Defaults help center article for more information on how to reset UniFi devices such as UniFi Access Points (UAP) and UniFi Switches (USW) to factory defaults.
  • Resetting the device to factory defaults will wipe out any backup files. Export and save your backup configuration to a separate device before following this article.

Table of Contents

  1. Introduction
  2. Resetting the Dream Machine, Gateway and Cloud Key using the Reset Button
  3. Related Articles

Introduction

A reset using the reset button will completely reset the UDM (UniFi Dream Machine) or UCK (UniFi Cloud Key) to factory defaults. Afterwards, you will need to run the setup process again. Resetting the device to factory defaults will wipe out any backup files. Export and save your backup configuration to a separate device before following this article.

ATTENTION: Only follow these steps if your device is not responding or if there is another good reason why a reset is necessary.

Resetting the Dream Machine, Gateway and Cloud Key using the Reset Button

Use the table below to select your model and follow the steps to reset the device to factory defaults:

UDM-Pro
UDM
UCK-G2 / UCK-G2-PLUS
UC-CK (Gen1)

The images below show the location of the reset button on the UDM-Pro:

udm-pro-topology.png

1. Power on the UDM-Pro using the provided power cable and wait for the device to fully boot.

2. Press and hold the reset button located on the front of the device.

3. Keep the reset button pressed for 10 seconds, after some time the Touchscreen display will indicate that the UDM-Pro is Resetting to Factory Defaults.

udm-pro-reset.png

4. Wait for the reset process to complete, during which the device will automatically reboot.

5. After the reset has been completed, open a compatible web browser such as Google Chrome and navigate to https://setup.ui.com to start the setup process.

NOTE: There is more information on the UDM setup process in the UniFi - UDM: How to Set Up a Dream Machine article.

The images below show the location of the reset button on the UDM:

udm-topology.png

1. Power on the UDM using the provided power cable and wait for the device to fully boot.

2. Press and hold the reset button located on the bottom of the device.

3. Keep the reset button pressed for 10 seconds, after some time the LED will become light blue.

4. Wait for the reset process to complete, during which the device will automatically reboot.

5. After the reset has been completed, open a compatible web browser such as Google Chrome and navigate to https://setup.ui.com to start the setup process.

NOTE: There is more information on the UDM setup process in the UniFi - UDM: How to Set Up a Dream Machine article.

The images below show the location of the reset button on the UCK-G2 and UCK-G2-PLUS:

uck-g2-topology.png

1. Power on the UCK-G2 / UCK-G2-PLUS using a USB power cable or via PoE and wait for the device to fully boot.

2. Press and hold the reset button located on the back of the device.

3. Keep the reset button pressed for more than 5 seconds, after some time the LED will start flashing white.

4. Wait for the reset process to complete, during which the device will automatically reboot.

5. After the reset has been completed, open a compatible web browser such as Google Chrome and start the setup process.

NOTE: There is more information on the setup process in the Quick Start Guides (QSG) for the UCK-G2 and UCK-G2-PLUS.

On the UCK-G2-PLUS, it is also possible to only reset the UniFi Controller while leaving the UniFi Protect installation intact.

CLI: Access the Command Line Interface on the Cloud Key.

Run the below command to completely purge/remove the UniFi Controller:

dpkg -P unifi

The controller can be reinstalled using the steps from the UniFi - UDM/UCK: How to Change the Controller Version using SSH article.

ATTENTION: Do not purge the UniFi Controller on the UDM/UDM-Pro models.

The images below show the location of the reset button on the UC-CK:

uck-ck-topology.png

1. Power on the UC-CK using a USB power cable or via PoE and wait for the device to fully boot.

2. Press and hold the reset button located on the back of the device.

3. Keep the reset button pressed for more than 5 seconds.

4. Wait for the reset process to complete, during which the device will automatically reboot.

5. After the reset has been completed, open a compatible web browser such as Google Chrome and start the setup process.

NOTE: There is more information on the setup process in the Quick Start Guide (QSG) for the UC-CK.

Related Articles

UniFi - UDM: How to Set Up a Dream Machine

UniFi - UDM: Emergency Recovery Mode UI

UniFi - How to Create and Restore a Backup

UniFi - How to Reset Devices to Factory Defaults

UniFi - UDM/UCK: How to Change the Controller Version using SSH

Was this article helpful?
18 out of 59 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