Archive

Archive for the ‘File Server Resource Management’ Category

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

January 6, 2012 8 comments

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.