How can I know my username

Hi everybody

I was trying to change my username and clicked. After this, I put the username and it did not work. On user name field it shows nothing, I tried every word which I put as a username but still I can't unlock it. I know password but I don't know usernameUser uploaded file

MacBook Pro with Retina display, iOS 11.2.5

Posted on Feb 8, 2018 3:39 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 8, 2018 3:43 PM

In your case, from your picture, your username will be the 'Current User' username that you have highlighted to the right in the System Preferences box. That should help. It looks like your username starts with MacBook from the picture. I hope that answers your question!

8 replies

Feb 8, 2018 5:36 PM in response to DilshodDadaboev

The dialog is asking for the user name and password for "administrator" account, but your account is somehow set to "Standard" account, and there is no other administrator account as I can see in the screenshot.


So, try this to create new administrator account, then change your account back to administrator.

  1. Reboot in single user mode by holding cmd-S (macOS Sierra: Start up in single-user mode)
  2. Wait for prompt and type in "/sbin/mount -uw /" and hit return. This makes the boot volume writable. ( the boot volume is mounted in read-only mode on booting in single user mode )
  3. Type in "rm /private/var/db/.AppleSetupDone" and hit return. This will create the indication for completion of system setup.
  4. Type in "reboot" and hit return to reboot the Mac. You'll get the setup assistant running. Create new administrator account with new name in its procedure.
  5. Log in with new administrator account.
  6. Open System Preferences>Users & Group.
  7. Click the lock icon on lower left corner and enter password for the new account. On this time, the new administrator name should be in [User name] field on the dialog.
  8. Click your account and give check on "Allow user to administer this computer"
  9. Close System Preference and logout.
  10. Login with your account.

Now you should be able to do the task you wanted as wrote in the original post.


You can delete the administrator account just created if you confirmed the fix.

However, you can keep it for the accident in future like this case.

Feb 8, 2018 4:28 PM in response to DilshodDadaboev

In your Users and Groups Systems Preferences pane (the one you were on in the photograph), your username should be the option that was highlighted in your photo to the left (I said 'right' earlier and that was incorrect 😉). Use that username when you try to sign in on the User Name in the dialog box. If that does not work, then you will probably need to add back an administrator account (see this thread) or take it into an Apple Store so that you can get assistance. I hope that helps!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I know my username

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