Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

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

1 Answer 1

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