sande76

Q: i need help with startup after changing username.

I downloaded El Capitan on my MacBook Air with no problems.  I then changed my user name under user accounts.  I rebooted my computer as suggested but now  when I type in my password to login, it just goes to the El Capitan background screen and nothing is opening up.  All I see is the color wheel and the mountain screen.  I think its not recognizing my account.  How can I fix this? I tried going into safe mode but I dont know how to fix it once I get there.  Can someone help me??  Thank you, Sandi

MacBook Air (11-inch, Early 2014)

Posted on Jan 28, 2016 12:01 PM

Close

Q: i need help with startup after changing username.

  • All replies
  • Helpful answers

  • by Pmintz25,

    Pmintz25 Pmintz25 Jan 28, 2016 12:06 PM in response to sande76
    Level 4 (1,634 points)
    Jan 28, 2016 12:06 PM in response to sande76

    How did you change your User name?

     

    You can not change an account name in System Preferences; you can add or remove accounts and change a password but changing the actual name requires a lot of technical work via the Terminal app.

  • by sande76,

    sande76 sande76 Jan 28, 2016 12:18 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 28, 2016 12:18 PM in response to Pmintz25

    I went under system preferences then accounts.  I then unlocked the account.  Once I went in, i changed several things.  I cant quite remember exactly what it was but I do remember thinking it was changing the email and maybe the links like for startup.  I think i just need to change my last name back but i cant get back to the site to do that.  Its like it doesnt recognize me or the direction im trying to do.

  • by Pmintz25,

    Pmintz25 Pmintz25 Jan 28, 2016 12:26 PM in response to sande76
    Level 4 (1,634 points)
    Jan 28, 2016 12:26 PM in response to sande76

    Are you trying to log into the computer using an Apple ID instead of a normal log in?

     

    When you enter Safe Mode, can you log into the computer?

     

    If you changed your Apple ID or password for the Apple ID, you may need to reset the Apple ID password.

  • by sande76,

    sande76 sande76 Jan 28, 2016 12:35 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 28, 2016 12:35 PM in response to Pmintz25

    I am trying to log in like my normal ID.  I didnt change my apple id name or password.  I just changed my last name under user account.  I remember changing it in 4 different places.  It was all in the same window when I did it. Again I think its not recoginizing me by the different last name. My apple id and password is still working on my phone but i just somehow messed up the dierction.  I am having a hard time finding the right words to describe this. I remember what the window looked like but cant remember exactly which one it was.  I just know i was in system preferences, user accounts, and then unlocked so i could change stuff but it wasnt just where my name was.  it was a little more detailed.

  • by sande76,

    sande76 sande76 Jan 28, 2016 12:38 PM in response to sande76
    Level 1 (0 points)
    Jan 28, 2016 12:38 PM in response to sande76

    Oh, I went under advanded options. I think that was the window where i changed several different things

  • by Pmintz25,

    Pmintz25 Pmintz25 Jan 28, 2016 1:06 PM in response to sande76
    Level 4 (1,634 points)
    Jan 28, 2016 1:06 PM in response to sande76

    Ok I understand now. If you change the name on the user account without changing the name of your Home folder, there can be problems with the user account. All of your files are set to work with your original account name, and will not work with your new name unless the name change was done correctly.

     

    Did you change this information while logged into the account you were changing? There may be a way to fix this but it would require another Admin account on the computer. Is there another Admin account on the computer?

  • by sande76,

    sande76 sande76 Jan 28, 2016 1:16 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 28, 2016 1:16 PM in response to Pmintz25

    Yes I only have one user account and I was using that user name while changing it. HaHa, Yep I believe that's what all I did. 

  • by Pmintz25,

    Pmintz25 Pmintz25 Jan 28, 2016 1:40 PM in response to sande76
    Level 4 (1,634 points)
    Jan 28, 2016 1:40 PM in response to sande76

    Alright then we will have to create a new Admin user account so we can change your account information back to the way it was. Once things are (hopefully) back to normal, I can share the Apple provided steps for changing your account information to ensure no problems with opening files.

     

    To create a new Admin account without access to System Preferences, we have to trick the computer into thinking we are setting it up as a new computer. Don't worry, this won't alter your files or your user, it simply creates a new Admin account that we can use to fix your original account.

    Follow these steps exactly or your computer could be damaged.

     

    I have tested this method for creating a new account on my own computer and know it works.

     

    Turn the computer off, then:

    1. Turn the computer on and immediately hold "Command-S" on the keyboard (This is Single User Mode) You should see white words on a black screen
    2. Mount your hard drive by typing this: /sbin/mount -uw /
      1. Note there is a space between "mount" and "-uw" and also a space between "-uw" and the /
    3. Press Enter/Return (nothing appears to happen and this is normal)
    4. Now type this: rm /var/db/.applesetupdone
    5. Press Enter/Return again
      1. Again note the space between "rm" and "/var/db/.applesetupdone"
      2. This removes the file that prevents your computer from running the initial set up
    6. Now type "reboot" and press Enter/Return

     

    The computer should boot up as if you have never set it up before. Walk through the initial set up, but ignore anything that asks for an Apple ID or transferring data. We are just making a "dummy" account so we can log in and change your information back to the way it was. We will delete this account in the future unless you really want to keep it.

     

    Give it an easy name and password that you will remember. Again, you are most likely not going to be using this account ever again so don't worry about setting it up with your name or anything else. Just skip through until it loads a new user.

     

    From here, open System Preferences > Users and Groups > Unlock with the password you just created for the dummy account > Control click YOUR account and open the Advanced Settings. Change the Account name and Full name back to the EXACT name you had before. There should not be any spaces unless they were there originally. Also ensure that the Home directory is "/Users/(youraccountname)," where "youraccountname" is the same exact name as the Account name. For example, if your account name is johnsmith, you directory should be "/Users/johnsmith"

    My hope is that by putting everything back to the way it was, your computer will recognize the information and allow you access to your account.

     

    Once you verify everything looks the same as before, click OK and then lock the lock. Log out of the dummy account and see if you can log into your original account.

     

    Let me know how it goes.

  • by sande76,

    sande76 sande76 Jan 28, 2016 4:23 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 28, 2016 4:23 PM in response to Pmintz25

    I tried to restart my computer pressing command and s but an error comes up saying......error building a user of type 0x20010008

  • by sande76,

    sande76 sande76 Jan 28, 2016 4:54 PM in response to sande76
    Level 1 (0 points)
    Jan 28, 2016 4:54 PM in response to sande76

    hey, you are so amazing! I finally got it after much persistence! Thank you so much! When i got into advanced options I realized that's the screen I was talking about where I changed the stuff. How silly of me not to read the warning at the top before I did that. It clearly states that it would affect log in! Apple computers and redheads can be dangerous! Lol!! Again, thank you so much!!!

  • by sande76,

    sande76 sande76 Jan 28, 2016 4:57 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 28, 2016 4:57 PM in response to Pmintz25

    hey, you are so amazing! I finally got it after much persistence! Thank you so much! When i got into advanced options I realized that's the screen I was talking about where I changed the stuff. How silly of me not to read the warning at the top before I did that. It clearly states that it would affect log in! Apple computers and redheads can be dangerous! Lol!! Again, thank you so much!!!

  • by Pmintz25,Solvedanswer

    Pmintz25 Pmintz25 Jan 29, 2016 9:15 AM in response to sande76
    Level 4 (1,634 points)
    Jan 29, 2016 9:15 AM in response to sande76

    I am so glad you were able to get this resolved! It's always scary for a user when their data could be in jeopardy. So all is good on your end now? You are able to access you files correctly?

     

    Make sure you mark this as solved in case someone else is looking for a similar solution.

     

    Also, if you want to change the names so you aren't seeing your old name, use the article below. Read through it before do anything to make sure you understand how it works. Changing the Full name is not a problem, it's when you change the Account name and home folder directory.

     

    Change the account name and home directory name on your Mac - Apple Support

  • by sande76,

    sande76 sande76 Jan 29, 2016 8:16 PM in response to Pmintz25
    Level 1 (0 points)
    Jan 29, 2016 8:16 PM in response to Pmintz25

    Yes, everything is working great. Thank you once again!!