Note: If you have several user accounts or an older Mac, you will have to select “forgot all passwords,” then select the user account you want to reset the password for. This will open the Reset Password Assistant screen.
Don’t use any space in between the words. Type “resetpassword” in the terminal window.Go to the Apple Menu at the top and click Utilities.While it is restarting, press and hold the Command + R keys until you see the Apple logo. If you see the login screen, you will have to restart and repeat this step again until you get to Recovery Mode.You can only access the recovery mode while the laptop is booting up, which is why you need to restart it. The easiest way to reset your admin password is to enter recovery mode. Here’s how to reset your admin password on a Mac, even if you forgot your admin password. But if you still can’t log in, don’t contact Apple Support yet. Then, you should try using your password hint by clicking on the question mark in the password field. First, you should make sure that the Caps Lock isn’t on, because passwords are case sensitive. So, you’re trying to use your Mac, but you can’t get past the login screen because you don’t remember your password.