Can you factory reset your MacBook Air?
Yes you can. Remember if you do this, don't forget to backup
your files. Keep your MacBook Air plugged into the charger, and
make sure you have an internet connection. Lastly, due your due
diligence and research further if you're unsure or unfamiliar about
resetting. Once you're ready, go to Apple Menu > Restart. While
the Air restarts, hold down the Command and R keys at the same
time. Disk Utility should appear, click Continue. You will see a
list on the left...select the startup disk, then click Erase. A
pop-up menu should appear. Choose Mac OS Extended (journaled). Type
a name for your disk, then click Erase. After the disk has erased,
choose Disk Utility > Quit Disk Utility. At this point, choose
Reinstall Mac OS X and click Continue. Follow the instructions it
gives you.