We help IT Professionals succeed at work.

Moving homedirs from one server to anothre

Sum Wum
Sum Wum asked
on
Hi.

We want to move our users homedir from our old fileserver to our new one. We want to copy the NTFS permissions and the share permissions. Is there an easy way to do this?
Comment
Watch Question

Yes you use robocopy to achieve same. We did its work fine and awesome. you can view all the commands from http://ss64.com/nt/robocopy.html for gui use http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17657
Top Expert 2012
Commented:
Richcopy is the updated version of Robocopy I have started to use this over Robocopy here lately on Windows 2008 Server because of the options receive with the updated version real nice to use for folder\file migration.

http://blogs.technet.com/b/keithcombs/archive/2009/03/22/richcopy-bulk-file-copy-tool-released-get-it-here.aspx

Author

Commented:
Daruisg: Can it copy the shares and share-permissions too?
Top Expert 2012

Commented:
Yes it can

Commented:
I never tried richcopy for shares, learn something new everyday!

Another way to copy shares is the export the registry keys at
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares

Below the key is a Security key that corresponds to the Share key (it has ACLs)
You can import the key(s) on the new server.
If you edit the key you will see the Share Path in the string, you can edit the drive letter / folder if they don't match up on the new server
Restart the Server service for it to take effect.