after changing the user name all is gone:(

Discussion in 'MacBook Pro' started by ella22, Jul 7, 2015.

  1. ella22 macrumors newbie

    Joined:
    Jul 7, 2015
    #1
    Hope there is someone who can help me, I was so stupid that I searched the web how to change the admin username on macbook air, after I changed the user name on my Mac, all data is gone:( i tried to change the name back to the old one, but it didnt work :(
     
  2. InfiniteLoopy macrumors 6502

    Joined:
    Dec 14, 2010
    #2
    I'm not sure what you did exactly, but you should maybe take it to your local Apple store or authorized Apple reseller to see if they can help. I hope you had a backup and that it turns out OK.
     
  3. snaky69 macrumors 603

    Joined:
    Mar 14, 2008
    #3
    If you deleted the user account that used to be there, then any data that is usually stored in the "user" file is gone and not recoverable.

    If the account still exists under system preferences, just log out and back in.
     
  4. LewisChapman macrumors 6502a

    LewisChapman

    Joined:
    Jan 10, 2015
    Location:
    UK
    #4
    This stuff happens. Book yourself a Genius appointment and see what they can do.

    Do you keep backups?
     
  5. c55 macrumors regular

    c55

    Joined:
    May 3, 2015
    #5
    You have to change your account name and home directory name, doing only one will lock you out. Don't touch anything and schedule a genius appointment. they should be able to help you
     
  6. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #6
    Hard to say how to fix it, not knowing exactly what you did. But you can make a new account and move the data (like documents and music for example) over to the new account.

    Follow the steps here to make the system rerun system setup. When you do that, make a new admin account with a new name and login to that account.

    Then from within the new account open Terminal and run the command below. You will be prompted for a password. Enter the PW for the new account you are currently in. That will launch an instance of Finder as "root" that will allow you to browse and copy/move files inside the old account and move them over to the new account.

    Code:
    sudo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    What I would do is first thing once you get logged in to the new admin account is run a full backup to an external drive so you can recover if you mess this up.
     
  7. InfiniteLoopy macrumors 6502

    Joined:
    Dec 14, 2010
    #7
    After the backup, disconnect the backup drive before you do any modifications to ensure you don't do anything to the data on it. I would still get a Genius appointment if you're not comfortable modifying user settings.
     

Share This Page