Home > File Server Resource Management > Migrate User Home Folders to a New File Server with all Security Permissions and Bulk Changes for Home Folder Paths.

Migrate User Home Folders to a New File Server with all Security Permissions and Bulk Changes for Home Folder Paths.


Since Administrators has to put a massive effort to transfer home folder contents and profile paths to a new file server, I have given a quick and easy guidance to achieve it with most effective way. I have done a small LAB environment to present the below steps to you as below. As you can I have created two OU’s name Finance and IT under Test Users. For each user contain in particular OU has the profile path as follow. \\Server1\File_Server\%Department%\%username%

clip_image002

clip_image004

\\Server1\File_Server\IT\Gayanp

Ø In order to achieve this migration very effectively you have to follow below tasks as well

  1. Clearly identify new file server path. (According to my environment user new   home folder profile path is \\Server2\File_Server\%Department%\%username% or \\Server2\File_Server ).
  2. Backup Registry Share files and merges in to new server – Microsoft’s official method of migrating shares from one server to another is documented in KB125996, which requires an export of the registry key
  3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Shares from server1 and the importing of that resultant .reg file into server2.
  4. Make sure new LUN drive letter is equal to old backup drive letter.

Share permission and ACL permission should be same for the top folder.

clip_image006clip_image008

Ø Use ROBOCOPY Tool to transfer all file contents and share permissions to the new server.

Download ROBOCOPY TOOL from this site and it is freeJ. http://www.mytechguide.org/605/microsoft-robocopy-gui

  1. Once you download it, login to your server as a domain admin and install the ROBOCOPY GUI.
  2. Start ROBOCOPY GUI Tool, Start à All Programs à ROBOCOPY GUI. Once you open it you will see an interface as below.
  3. Enter the source and destination file path of your file server and do the changes for other tabs contents as given below.

clip_image010clip_image012

clip_image014clip_image016

4. Finally hit run then you will see a message as below.

clip_image017

Ø Use ADModify.Net tool to do bulk changes for user home folder paths

  1. Download ADModify.Net tool from this web site http://admodify.codeplex.com/
  2. You do need to do any installation for this tool. Straightaway double click ADModify.NET exe. Then you will see an interface as below and click on Modify Attributes.

clip_image019
3.Then you will transfer to the new configuration interface. Then you have to    select your Domain List and Domain Controller list and remove all the ticks from tick boxes except users.

Select the OU where the user exist and click Add to list.

clip_image021

clip_image023

5. Finally you will get below interface. Then you have simply do the path change as below. Since this is a bulk change instead of entering the user name you have out the %sAmAccountName% then it will get the User Logon Name of the each user and do the necessary changes for the home folder paths.

clip_image025

\\Server2\File_Server\IT\%sAMAccountName%

6. Click Go. Then you will get a message saying how many changes have been done for each user.

clip_image027

7. After that you can go to Active Directory Users and Computers and check the Home folder path, you will see the old home folder path changes to the new path as below.

Advertisements
  1. January 7, 2012 at 9:42 am

    Nice work. Keep up the good work 🙂

  2. October 8, 2013 at 8:32 pm

    Word – Press iss increasing in popularity and as a result, more sites than ever
    are looking at premium options that are a ccut above the free Word – Press
    templates that are outt there. A single of the web-sites that give Word
    – Press themes is Wooo – Themes. I have also seen thus
    type of error crop up after a WordPress update.

  3. July 30, 2014 at 3:25 am

    You actualoy make it seem so eazsy with your presxentation but I find
    this topic to be actually something which I think
    I would never understand. It seems too complichated and very broad for me.
    I’m looking firward for your next post, I will try to get the hang of it!

  4. August 1, 2014 at 6:45 am

    Pretty! This was an incredibly wonderful article.
    Thanks for providing these details.

  5. Amir
    January 14, 2015 at 1:36 am

    Hi, When I change the profile path to \\server\folder\%’sAMAccountName’% all the user in my directory get \\server\folder\’sAMAccountName’ as their profile path. Am i doing something wrong?

  6. January 14, 2015 at 8:25 am

    You should not put ” mark for %’sAMAccountName’%, i think i have done a mistake in my article. so you should use profile path as below,

    \\server\folder\%sAMAccountName%

  7. June 6, 2017 at 7:22 pm

    Very good job!

  1. August 9, 2013 at 9:17 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: