How do I restore the 2011 MacBook Air to factory setting??

I am returning a 2011 MacBook Air running Lion and need to wipe all data and do a full-restore back to factory settings... How do I do that? I've found the Command-R-on-startup option to get to the Mac OS X Utilities screen, but here's where I am not quite sure what to do next...


Since Apple so brilliantly no longer include a USB stick with the OS for the new Air, I can't use Disk Utilities to wipe the hard drive. At least, I haven't found a way yet... Everytime I tried, I get an error message saying that there's only 1 partition and that it can't be erased.


The other option is to just reinstall the OS without first zeroing out the hard drive, which I don't want to do. Besides, if I reinstall the OS, I'd have to create another user-account and such... which isn't the same thing as just resetting it to factory settings.


So... any thoughts on how I can accomplish this task? This seems like it should just be a really simple process, but is so needlessly complicated!

Posted on Aug 17, 2011 2:23 PM

Reply
29 replies

Aug 17, 2011 2:29 PM in response to blue hurry

Boot from the Recovery HD by restarting the computer and after the chime press and hold down the COMMAND and "R" keys until the computer starts from the Recovery HD. Select Disk Utility from the main menu and click on the Continue button.


2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.


3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.


4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.


5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.


6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.


At this point all your data are securely removed. You can shut down the computer or reinstall Lion from the main menu.

Aug 17, 2011 2:49 PM in response to blue hurry

If you just erase the drive but do not reinstall Lion, then you will return the computer with a blank drive, not as if it were new.


However, the computer you are returning will only be resold as a refurbed unit, so Apple will install whatever software needs to be installed on it. You are not obliged to do that yourself unless you want to.


If you follow the drive prep procedure I provided all your data is essentially securely erased. That is what the one pass Zero Data Security option does.

Aug 17, 2011 5:30 PM in response to Kappy

Oh man I give up. The new Air is nothing but problems... I did the Command-R on reboot and got to a recovery screen, but it can't move forward because it can't connect to the internet. I've tried everything to connect and it just won't connect. I've changed the wireless access point from WPA/WPA2 Personal back to WEP, I've made sure that the access point is being broadcasted and not hidden... Nothing will work. And I know that the password is correct because I have it written down and I tested it with this MBA and my Palm Pre. Nothing will work ack ack. I think I'm just going to send that stupid MBA back and let Apple deal with erasing the data :\


So frustrated right now with Apple and the stupid things they are doing with Lion.

Aug 18, 2011 7:30 PM in response to blue hurry

I have had the same problem...security option is greyed out. I followed your steps perfectly to the point I went back in by holding down the Option key at start up, connected the wifi, went back into disk utility and followed your steps again, still no security option. Is the security option not available because it's SSD?


I erased the partition and did a clean install of Lion as I couldn't get a secure erase. Very frustrating.

Oct 26, 2011 8:30 AM in response to emily92

This is how its done:


It works on Mac OS X Lion only.


1. Launch the Terminal application on you Mac. Then run the following sequence of commands (one at a time):

sudo su

dscl . -delete /Groups/admin GroupMembership yourAccountNameHere

dscl . -delete /Users/yourAccountNameHere

2. Now reboot your Mac into single-user mode by holding Command-S at startup.


3. Once booted into single-user mode, run the following sequence of commands (one at a time):

/sbin/fsck -fy

/sbin/mount -uw /

rm -R /Users/yourAccountNameHere

cd /var/db/

mv .AppleSetupDone .RunLanguageChooserToo

rm -R /Library/Caches/*

rm -R /System/Library/Caches/*

rm -R /var/vm/swapfile*

reboot

Your Mac will reboot to the start of the initial Apple Setup program just like when you first powered it on after purchase. All clean and ready to sell or give to a new user.

Dec 2, 2011 7:17 PM in response to Kappy

Well I have the same issue"security options" but I check the next window...I do not remember the name and its says Data Zero so, what I did was erase it. After that I turn off the computer, you have to start the computer again in Recovery HD or you will see an icon that is a filed with a question mark on it. When you used COMMAND and R keys...if you wait it will show you first that is serching and then a window with 4 options....used the option for install the Mac OX lion and then continue. The document created before, has the same side of the original that we erase, install it.. will take about two hours...in my case..the computer asked me to restart before finishing the process, I did it and i have to star all over from the COMMAND + R key and turn on/off computer button, but at the end when the dowload finished it restart itself as factory setting!!

Mar 28, 2012 7:00 AM in response to darrenjfox

Hi darrenfox,

I have a question rnegarding your solution for restoring MacBook Air to factory settings...

When I add the sudo su command and press enter to add the next command I get a warning that it can incur data loss which is cool, but then it says;


To proceed, enter your password, or type Ctrl-C to abort.

Password:


From here I cannot proceed as it does not even allow me to type, I try and type and it just remains blank... . .?


Any ideas as to how to proceed?


Thanks for your time,


Alex

Apr 16, 2012 1:38 PM in response to darrenjfox

I'm stuck following DarrenjFox instructions. I get to /sbin/mount -uw / and receive a bunch of "device is write locked" messages. If I try to continue to the next step (rm -R /Users/myusername) I get "No such file or directory". If I reboot I can only access Guest Safari browsing login so I'm stumped on how to even reinstall Lion or do Time Machine backup to restrore device. I'm ultimately trying to wipe the device clean to give to someone else. Any help would be greatly appreciated.


Another side note, I have a Win7 partition and am still able to login to that......for what it's worth.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I restore the 2011 MacBook Air to factory setting??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.