Recover Administrator Account on Mac

If you lost your Administrator Account on your Mac for whatever reason here’s what you can do to recover it.

Boot into Single User Mode by Restarting your Mac and pressing and holding ⌘ + s
Using the Terminal:

Check the dive (I skipped): /sbin/fsck -fy
Mount the drive as read-write: /sbin/mount -uw /
Remove the Apple Setup Done file: rm /var/db/.AppleSetupDone
Restart the system: reboot

Upon restarting the system you’ll go through the setup process and create a new admin account.  Using that you can restore or give admin status to another account if so desired.

Link:
https://apple.stackexchange.com/questions/164331/i-dont-have-administrator-account-on-my-mac

Leave a comment