Moving Shares from One Drive to Another Drive
Note: this procedure is for moving Windows NT shares from one drive to another drive in the same computer. Before executing the procedure bellow make sure to backup your registry keys, in particular the one that handles the shares located in: HKEY_LOCALMACHINE\System\CurrentControlSet\Services\Lanmanserver\Shares
I was running out of disk space on one of my NT servers, in this case it was my Accounting server. I had four partitions based on a RAID0 configuration.
I needed to move three shares from my G: partition to my E: partition, but I needed to keep the NTFS and Share level permissions once I moved them.
First I got a hold of the "scopy.exe" utility from the Microsoft Windows NT Server Resource Kit Supplement 4. I copied the scopy.exe utility to the Accounting server under the %SystemRoot%\System32 folder.
Second, I created the same folder name for each Share on G: drive. Example: I created three directories Travel, Forms and Reports on my E: partition. I then started the copy procedure from G: partition to E: partition. Couple of things to remember; make sure that no one is connected to the shares you will need to copy. I strongly suggest to this off business hours.
Proceed by using the scopy utility to copy the share’s contents.
Syntax:
Scopy.exe G:\Travel E:\Travel /o /a /s
/o will copy owner information
/a will copy file attributes
/s will copy any sub directories
Do the same for each Share folder you need to copy to the new partition.
After you copied all share directories and its contents; launch Server Manager for Domains, you can take a quick shortcut by running the following command line parameter: srvmgr \\yourservername
Click the "Computer" menu, and then click "Shared Directories". Locate the share directories you are in the process of moving, and then click the Properties button. Change the path field from the current share path to the new one. Example: from G:\Travel to E:\Travel and click OK. You will get a warning message that tells you that the share is already in use and if you want to stop it to create this new one, say Yes to this dialog box (don’t worry, all your share level permissions will be kept intact).
This process saved a lot of time. Have fun.