Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use the command line to restore my computer to factory settings?

share|improve this question

closed as not a real question by Eliah Kagan, qbi, Eric Carvalho, Mik, hhlp Jan 19 '13 at 11:33

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

what do mean factory default? which device? it need to more explanation. – Achu Mar 25 '11 at 5:10
Do you mean that your computer shipped as Ubuntu factory default ? – Jamess Mar 25 '11 at 5:30
Please add information on brand and how this is related to Ubuntu – Takkat Mar 25 '11 at 7:34
The question is very unclear, but you could just reinstall Ubuntu. – Adam Byrtek Mar 25 '11 at 8:14

You can reset the configuration for all packages that use debconf with the command

sudo dpkg-reconfigure -phigh -a

This will restore a large portion of your system, although there will likely be things that are still configured and set.

share|improve this answer