Home FAQ How To Reset Ubuntu To Factory Defaults

How To Reset Ubuntu To Factory Defaults

By sk
Published: Last Updated on 26.9K views

Today, I have stumbled upon an interesting and useful tool called Resetter, which is used to reset Ubuntu to factory defaults. That means, your Ubuntu system will go back to the state when you installed it in the first time. It finds all applications which are installed after Ubuntu fresh installation and delete them. Not just applications, it also deletes the users too. You don't have to reinstall everything from the beginning. Just reset your Ubuntu to its factory defaults and start installing the required applications. Don't worry about your data, Resetter won't touch them. It just removes the applications and the users. To put this simply, Resetter will detect and remove packages that have been installed after the initial system install.

Resetter is completely free and open source. It is built with python and pyqt. It is not just for Ubuntu, It will also work on Ubuntu derivatives like Linux Mint, Elementary OS. It currently supports the following distributions (only 64 bit).

  • Elementary OS 5.0
  • Deepin OS 15.8
  • Debian Gnome 9.6
  • Linux Mint Cinnamon 18.3, 19, 19.1
  • Linux Mint 18.3 Mate
  • Ubuntu Gnome 18.04, 18.10
  • Ubuntu Unity 16.04

In this brief guide, I will explain how to install and how to use Resetter to reset Ubuntu system to its factory settings.

Install Resetter

Download the latest version from here. As of writing this guide, the latest version was 2.2.0.

$ wget https://github.com/gaining/Resetter/releases/download/v2.2.0-stable/resetter_2.2.0-stable_all.deb
$ wget https://github.com/gaining/Resetter/releases/download/v2.2.0-stable/add-apt-key_1.0-0.5_all.deb

Then, install it using commands:

$ sudo apt install gdebi
$ sudo gdebi add-apt-key_1.0-0.5_all.deb
$ sudo gdebi resetter_2.2.0-stable_all.deb

Reset Ubuntu To Factory Defaults

Once installed, launch it either from Unity dash or Menu.

The default interface of Resetter will look like below.

As you see, it has two options namely "Automatic Reset" and "Custom Reset".

Automatic Reset (Not Recommended)

As the name implies, Automatic Reset will reset your Ubuntu system completely to its factory defaults automatically. It detects all applications which are installed after Ubuntu fresh installation and delete them including the Users. If there is no important data in your Ubuntu system, You can use option to wipe every applications installed after Ubuntu fresh installation.

Click Automatic Reset to proceed.

Please BE MINDFUL that this option will remove all applications including the users after Ubuntu fresh installation. Also, it will create a new user called "default" automatically.

Click OK to continue.

If you want to keep any applications from removal, just uncheck them.

Now, Resetter will detect and delete all applications including the existing users.

After few minutes, it will automatically create a new user. You need to use these credentials the next time you log in.

Finally, reboot your Ubuntu system.

Now, log in with new user credentials.

Congratulations! Your Ubuntu system has been reset to its factory defaults. Start installing the applications you want to use.

Custom Reset (Recommended option)

This is the recommended method. Using this option, you can decide which applications to remove and which applications to keep. Also, you can have an option to keep your existing user or create a new user of your choice. The automatic method doesn't allow you to create your own user of your choice. It will simply delete the existing user and create an user called 'default'.

Click Custom Reset button in the Resetter home screen. Choose the applications to remove.

Next, you will be asked whether you want to remove or keep the existing. You can choose whether you just want to remove the user or user with its home directory. Be careful while you choosing this option. If you choose the option that labeled "Choose User and Home", all data on your HOME directory will be deleted.

Click Finish button to apply the changes.

Click Yes to create your own new account. Or, click No to to create a default account.

Enter the username and password of your choice if you had chosen Yes in the previous wizard.

Now, Resetter will find and delete all applications/users installed/created after Ubuntu fresh installation.

Once its done cleaning, it will show you the user credentials to use to login next time.

Finally, select Yes to reboot your Ubuntu system.

Done! Log in with your new user and start using it.

If you messed up with your Ubuntu system, Resetter will give you an easy way to reset Ubuntu to its initial state. You don't have to re-install Ubuntu. It really deserves a space in your arsenal. Give it a try. You won't be disappointed.

Cheers!

Resources:

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

3 comments

muzikjock April 2, 2017 - 6:51 am

this would be good. but why not make it to prompt your own user name and password; same as when you install it? i don’t see the purpose of setting “default” and having the app decide the password for you. if i needed to reset to defaults, i would just wipe the drive and install with oem installer iso. essentially it would do the same as this app and give you the option of creating your own user name and password, plus setting the time zone….the only use for this app is if i was selling the computer. no one wants a computer user name “default” …just sayin.
you set forth a good tutorial on how to use your app. but not very clear on WHY i would need it.

Reply
Sagar October 1, 2018 - 10:09 am

I tried the same in my system. But now I’m only getting the guest user account and no default account. I tried using ‘ctrl+alt+f1’ , but nothing working. Please help me out as its very necessary.

Reply
Citizen-X February 26, 2019 - 4:50 am

Just run this command through the terminal sudo dconf reset -f /

Reply

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More