To reset a MacBook Pro, backup your data, turn off your laptop, turn it back on, press and hold the Command and R keys, connect your laptop to the Internet, and select Internet Recovery or OS X Recovery from the Utilities menu. When the process is complete, restart your computer.
- Backup your data
Before resetting your computer, backup your files to an external hard drive.
- Boot your MacBook in recovery mode
After your files are backed up, turn off your computer, and plug it in. Turn it back on, and quickly press and hold the Command and R keys. Release the keys when the Apple logo appears on the screen. Wait for the Mac OS X Utilities menu to appear on the screen.
- Connect your laptop to the Internet
From the Utilities menu, click on Wi-Fi. Select your router, and enter the username and password.
- Reset your MacBook
Return to the Utilities main menu, and select Internet Recovery or OS X Recovery. The exact wording varies slightly, depending on your operating system. Click on Reinstall OS X, enter your Apple ID and password when prompted, and wait for the computer to reset.
- Restart your computer
After the operating system is reinstalled, restart the computer. Enter your Apple ID information, and begin the process of transferring your files onto the MacBook.