ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Migrating OSX computers from an old domain to a new one and keeping your users profile

    IT Discussion
    osx apple administration migration
    1
    2
    423
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      So this is a bit of a rip from a blog that has this laid out, but their instructions kind of suck. With the blog you lose things, like file attributes. This is just a cleaner approach to doing this. But it's here if you want to read it.

      To start, backup the user profile, you can do this by backing up the profile to the computer you are working on, or to an external disk. I use an external disk as it keeps things clean.

      From an root terminal
      cp -Rapfv /Users/Username /Volumes/External/Username

      Once the profile backup is complete, delete the user profile from within System Preferences > Users & Groups (include the Home directory)

      Also in Users & Groups > Unbind the Apple computer from the old domain, and join the new one.

      Now would also be a good time to perform any updates if those are required.

      Reboot the laptop

      Once the laptop is restarted (and updated) and on the new domain. Have the user login to the Apple computer with their username.

      Once the user is logged, you now need to restore their old user profile. To do so, log out of the domain user account and use the local admin account to open a root terminal and run cp -Rvapf /Volumes/External/Username /Users/Username

      Lastly, if the username changes (likely it does) you need to set the user as the owner of their profile.

      chown -Rv Username /Users/Username

      Reboot once more and have the user confirm that everything looks good.

      1 Reply Last reply Reply Quote 2
      • DustinB3403D
        DustinB3403
        last edited by

        Fixed a small typo.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post