You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I'm locked out of my Macbook Pro Administrator account

Recently, I've acquired a MC724LL Macbook Pro. As I was trying to change my administrator username from Admin to D'angelo, I came to the realization that not only was the administrator account unchanged but I was also locked out of my administrator account. I left this unchanged for a month, but then as I was trying to download an application I realized that I wasn't able to fix it. Do you guys/gals know anyway to change it???


Thanks in advance,

D'angelo

MacBook Pro 13", macOS 10.13

Posted on Mar 14, 2020 12:58 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 14, 2020 1:11 PM

Ouch.


You can create a new administrator account by restarting the Setup Assistant:

1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)

2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.

3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.

4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.

5. Reboot by typing reboot then ↩ enter.

6. Complete the setup process, creating a new admin account.

Be very careful to notice the spaces in those Terminal Commands.

Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

3 replies
Question marked as Top-ranking reply

Mar 14, 2020 1:11 PM in response to DangeloTillar

Ouch.


You can create a new administrator account by restarting the Setup Assistant:

1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)

2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.

3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.

4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.

5. Reboot by typing reboot then ↩ enter.

6. Complete the setup process, creating a new admin account.

Be very careful to notice the spaces in those Terminal Commands.

Once you've done that the computer reboots and it's like the first time you used the machine. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

I'm locked out of my Macbook Pro Administrator account

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.