

If you have an Apple ID, you can use it to reset your administrator password.

One way is to use an Apple ID, and the other is to use a recovery key. There are a couple of ways that you can use to bypass a forgotten administrator password on a Mac.

Restart your Mac and hold down the Command + R keys. If you are unable to use Single-User Mode, you can use Recovery Mode to unlock the administrator account. Finally, type “reboot” and press Enter to restart your Mac. Then, type “rm /var/db/.AppleSetupDone” and press Enter. Once you see the Terminal window, type “mount -uw /” and press Enter. Restart your Mac and hold down the Command + S keys. If you are comfortable with using the Terminal, you can use Single-User Mode to unlock the administrator account. Click on “Reset Password” and follow the prompts to reset the password for the account. Go to System Preferences > Users & Groups and select the locked admin account. If there is another administrator account on the Mac, you can use it to unlock the locked admin account. Sometimes, restarting your Mac can resolve issues with the administrator account.

To unlock the administrator account on a Mac, you can try the following steps: Restart your Mac
