Question Locked

Share Migration

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to migrate shares i.e. public folder, from one volume to a newer larger volume. It's a 2003 server with a volume that is rapidly running out of room and it now has available to it a net app. The shares will maintain the same UNC. I am looking for something that will essentially pick up the share from one volume and dump it on the other volume while maintaining shares, share permissions, and ntfs permissions.

2 replies

by jtmurphy

Use this xcopy command on the new server:
xcopy \\oldserver\oldserverdriveletter$\*.* newserverdriveletter:\*.* /s /d /y /c /o /k /x >>logfilename.txt
This will copy all the files, file permissions and directory structure from the old server to the new server. NOTE: the old and new drive letters and directory structure must be the same.
After files are copied, save this registry key from the old server to a .reg file:HKLM\System\CurrentControlSet\Services\LanmanServer\Shares
Copy the .reg file to the new server and run it. Reboot the new server. All the shares and share permissions will be back. File permissions were copied via the xcopy command.

This discussion is closed to new replies.