Restoring your Mac to the factory settings can help fix problems if nothing else has worked. You should also restore your Mac to the factory settings before giving away or selling it to get rid of all your personal files and information.
Because following the instructions below will wipe out all of the data on your Mac, make sure to back up your important files first. Sorting out the junk from the files worth keeping might seem like a lot of work, but the Dr. Cleaner app makes it easy by quickly cleaning up unwanted files and data, so remember to use it before starting the steps below.
Preserve Your Important Files
After using Dr. Cleaner to remove the clutter, you can back up the remaining files using Time Machine.
1. Click the Time Machine menu icon () on the menu bar and choose Open Time Machine Preferences…
You can also click the Apple menu icon (), select System Preferences…, and then click Time Machine.
2. Click the Select Backup Disk…button
3. Select a backup disk from the list, and then click Use Disk. Remember to select an external drive that you can detach from your Mac.
4. Mark the Back Up Automatically checkbox to start backing up your files and data to the external drive.
Disable or De-authorize Services
Now that you have backed up your important files, you must disable all of the services associated with your Mac, especially if you plan to give away or sell it.
1. Sign out of iTunes.
Open iTunes. From the menu bar at the top of the screen or at the top of the iTunes window, choose Account, select System Preferences, then choose Authorizations, and finally click Deauthorize This Computer. When prompted, provide your Apple ID and password, and then click Deauthorize.
2. Sign out of iCloud.
Click the Apple menu icon (), select System Preferences, choose iCloud, and then click Sign Out.
3. Sign out of iMessage.
Open the Messages app, click Messages, choose Preferences, and then click Accounts. Select your iMessage account, and then click Sign Out.
4. Disconnect any paired Bluetooth Devices (if necessary).
Click the Apple menu icon (), select System Preferences, and then click Bluetooth. Hover the mouse pointer over the device that you want to disconnect, and then click the remove (x) button next to its name. When asked to confirm your choice, click Remove.
Restore Your Mac to the Factory Settings
Finally, you must erase the hard drive and reinstall Mac OS X by following the steps below.
After completing these steps, your Mac will restart and show the setup assistant as if you just got it fresh out of the box from the store. If you plan to keep your Mac, just follow the setup assistant’s instructions. If you plan to sell or give it away, press Command + Q to quit the setup assistant, and then click Shut Down. The new owner should complete the setup process.
If you restored your Mac to the factory settings to solve a problem or thoroughly clean it up, make sure to install an optimizing tool like Dr. Cleaner to help maximize its performance in the future.