• How to restore a Apple computer to factory defaults

    by  • 2008/10/03 • Apple, How-to, OSX • 5 Comments

    I occasionally need to set up a Apple computer to act like it just came from the factory to give to a new person or to sell it. There are 2 ways I found to do this. The first is with the original install disk that came with your computer. But honestly who still has those around?

    The second is as easy as deleting one folder and two files.

    All you have to do is boot the mac into single user mode (command+s at start up) and enter the following commands at the terminal you are presented with.

    mount -uw /
    rm -rf /Users/ /var/db/netinfo/local.nidb /var/db/.AppleSetupDone
    reboot (or shutdown -h now if you don't want the machine to turn back on)

    Replace with whatever username you set up on the computer.

    This isn’t exactly the same as a fresh install but it is close enough. It removes all of the users and has the person go through the steps of naming the computer and registering with Apple.

    Let me know if you have any other tips for restoring a Apple computer to true factory defaults.

    About

    Avid learner with a passion for technology and people. He is always trying new things or taking something apart to make it better.

    5 Responses to How to restore a Apple computer to factory defaults

    1. 2009/08/06 at 15:53

      Tag this one!

    2. 2010/12/14 at 06:14

      “There are 2 ways I found to do this. The first is with the original install disk that came with your computer.”
      Are you sure that this is so?

    3. Anonymous
      2011/06/14 at 10:32

      I think the Apple computer’s factory defaults is difficult to restore.

    4. Samuel Auboire
      2011/09/05 at 00:18

      so when the black screen comes up after pressing command s what do i type in ?

    5. karin
      2012/02/29 at 19:05

      can you help me do this? I’m kind of stupid when it come to computers and I’m about to sell mine :/ if you could help me do this it would be a HUGE help thanks 🙂

    Leave a Reply

    Your email address will not be published. Required fields are marked *