• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Data Recovery Pit

The Data Recovery Expert

  • Best
  • Guides
  • Reviews
Home / Guides

May 10, 2021 Milan

How to Recover Mac Password

Recover Mac Password

Forgot the password needed to sign in to your Mac user account? That’s a problem, no doubt about it. Even worse, unless it’s resolved, it can lead to data loss and being forced to start from scratch. But because that is the last resort, after you’ve given up, we’ll give our best so it doesn’t come to it. You’ll have to pitch in too, mostly by remembering the precautions you’ve taken, the other accounts that exist on Mac, and having the willingness to follow instructions. If you’re up for that task, we’ll be happy to demonstrate how to recover Mac password.

1. Get a password hint

Are you logged in but afraid to sign out because you can’t recall the password? Do this to make password hint appear:

  1. Click on System Preferences (cogwheel icon).
  2. Go to Users & Groups, then click the Lock icon in the bottom left corner.
  3. You’ll be asked for the password now. Either enter the wrong password 3 times or press Return 3 times in a row.
  4. A password hint will now appear below the password text field if it was set up.

2. Recover Mac password via Apple ID

Is your Mac account associated with an Apple ID and do you have access to it? If the answer is no, recover Apple ID first. If it’s yes, this is what’s needed for Mac password recovery using Apple ID:

  1. On the Mac login screen, enter the password wrong 3 times in a row.
  2. Click the option to reset your password.
  3. If you get an option that says: Reset it using your Apple ID, click on it.
  4. You’re asked to enter Apple ID credentials. You might also need to enter a verification code sent to one of your devices.
  5. Do so, and you’ll get a Reset password option. Enter the new password twice, add a password hint, and you can now sign in.

3. Reset Mac password via recovery key

Did you get an option to Restart and show password options under step 3 above, and then Reset it using your recovery key after the restart? It means that FileVault, Mac’s drive encryption feature, is enabled. This also means that you chose to create a recovery key instead of choosing to use Apple ID to unlock your hard drive. For that reason, you only have to enter that ur recovery key, enter the new password twice (and, preferably, a password hint) and click on the Reset Password button.

4. Recover Mac password using Keychain

If you used Mac’s Keychain utility to keep your passwords, you might get an option to under step 3 in method 2. Here’s what to do:

  1. When asked to create a new Keychain, click on OK. Your Mac will restart.
  2. Select an Administrator account from the list of users. Click on Forgot all passwords?
  3. You should now see a window named Reset Password, with an option to Deactivate Mac.
  4. Click on Deactivate Mac, then enter administrator name and password when asked. Click on Deactivate to confirm.
  5. Now you can enter a new password for the account and click Next.
  6. Tip. If you have multiple accounts, click on the Set Password button next to each account, and enter new passwords separately.
  7. When you finish the procedure, click on Restart and log in afterward.

5. Recovering Mac password via Recovery Mode

Can’t remember any of the user accounts required for the method above? No problem, you can use Mac Recovery Mode to your benefit:

  1. Start with your Mac turned off.
  2. Boot it up and do this:
    1. Macs with Intel CPU. Press and hold Command (⌘) + R on your keyboard until you see the Apple logo and the loading bar below.
    2. M1 Macs. Simply keep the Power button pressed until you get a list of options. Select Recovery.
  3. Now that you’re in Recovery Mode, click on Utilities in the menu bar above.
  4. Select Terminal from the drop-down list.
  5. Enter this command before pressing Enter/Return:
    resetpassword
  6. Close the Terminal window and start using the Reset Password tool.
  7. Select the volume the account is on. This is your main hard drive, typically.
  8. If there are multiple accounts, click on Select the User Account.
  9. Enter the new password twice, then a password hint, and click on Save.
  10. You’ll get a warning that the Keychain wasn’t changed. Click on OK.
  11. Click on the Apple icon in the top left corner, then select Shut Down.
  12. Log in with your new password after Mac starts up.

6. Resetting Mac password via Terminal in single-user mode

If nothing worked so far, it’s time to bring out the big guns. Both of these methods require you to boot your Mac into single-user mode, which opens Terminal. To do that, power on your Mac, and while it’s booting, press and hold Command (⌘) + S. Now that you know this, here are 2 ways to achieve Mac password restoration via Terminal:

1. Use LaunchDaemon

Do this to recover Mac password through LaunchDaemon utility:

  1. Type “mount -uw /” without quotes and press Return/Enter.
  2. Now, type the following before pressing Enter or Return:
    launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
  3. Now, type “passwd username” without quotes. Replace the ‘username’ with the actual username of the Mac user account. Press Enter.
  4. Enter a new password, then retype the new password, pressing Return in-between.
  5. Finally, type “reboot” without quotes and press Return again.
  6. Sign in to your account for Mac.

2. Reset Setup Assistant

Follow these steps to retrieve Mac password by resetting Setup Assistant:

  1. Repeat step 1.
  2. Type the following before pressing Return/Enter:
    rm /var/db/.AppleSetupDone
  3. Repeat step 5.
  4. When it restarts, follow a typical Mac setup. Decline any data transfer.
  5. Setup a new Administrator account, and sign in with it.
  6. Repeat steps 1 and 2 from method 1.
  7. When prompted, enter the password for the Administrator account you created.
  8. Now, in the left sidebar under Other Users, select the desired Mac user account.
  9. Click on the Reset Password… button.
  10. Enter a new password two times, set up a password hint, and click on Change Password.
  11. Sign out and you can now sign back in with a new password.
  12. Optional. Delete the account you just created.

Mac, Password

Next Article
Easily Recover Laptop Password with or without a Reset Disk
How to Recover Pinterest Account

Primary Sidebar

Related Posts

Footer

data-recovery-pit-logo
Info
  • About
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
Site
  • Sitemap
  • Services
  • Advertise
  • Disclaimer
  • Facebook
  • Twitter
  • Pinterest

Copyright © 2023 · Data Recovery Pit

This site uses cookies to serve you better. By continuing to use this website, you agree to our cookie and Privacy Policy.