I am not able to log in to my MacBook Pro, I have forgotten the computer name

I am not able to log in to my MacBook Pro, I have forgotten the computer name, I know the password. Is there anywhere I can see name? The name I am using does not work, even tho it is on my network.



MacBook Pro 14″, macOS 14.4

Posted on Apr 11, 2024 2:05 PM

Reply
2 replies

Apr 11, 2024 8:50 PM in response to barjo

barjo wrote:

I am not able to log in to my MacBook Pro, I have forgotten the computer name, I know the password. Is there anywhere I can see name? The name I am using does not work, even tho it is on my network.



The name it is looking for would be your Login name, typical your full name: John Doe



You can make changes once you get in...





your admin/user is typically a shortened version: johndoe

Apr 11, 2024 9:34 PM in response to barjo

barjo Said:

"I am not able to log in to my MacBook Pro, I have forgotten the computer name: I am not able to log in to my MacBook Pro, I have forgotten the computer name, I know the password. Is there anywhere I can see name? The name I am using does not work, even tho it is on my network."

-------


Getting Baskin to Mac:

Seems you've forgotten your User Name. One idea would to be to boot into Recovery Mode, and then find you User Name through use of Terminal.


Finding the User Name(s):

  1. Boot: into Recovery Mode (Intel or Silicon)
  2. Enter: your password
  3. Click: Utilities menu (in the menubar at the top of the screen)
  4. Select: Terminal
  5. Type: the following command, and then press return key. The User Name(s) will be shown on the very bottom of the Terminal window...
dscl . list /Users | grep -v “^_”


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.

I am not able to log in to my MacBook Pro, I have forgotten the computer name

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