Link to home
Start Free TrialLog in
Avatar of Jandakel2
Jandakel2

asked on

How do you move shares, maintaining their NTFS and Share permissions?

I have a bunch of Drop Boxes on my partition "A" of a Server 2003, and I need to move them to a different partition, partition "B".  they are all contained in a Share named Dropboxes$.  I need to know how I can transfer this share,subdirectories and files to a separate partition while maintaining the assigned permissions.  I have heard of robocopy and xcopy, so if this is the only way to go, can someone please provide a syntax example?  Thank-you in advance,

JK
ASKER CERTIFIED SOLUTION
Avatar of Mazaraat
Mazaraat
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
robocopy was built off of the xcopy program...just added more options.
Avatar of Jandakel2
Jandakel2

ASKER

So, using the robocopy as you suggested, all the data, attributes, NTFS permissions and Share permissions will be transferred?

Thanks,

JK
Robocopy will not migrate the share information....  But the NTFS permissions and file attribute will migrate (assuming all NTFS permissions are domain based...  If you are using local server groups, the permissions will break.  You must be following best practice and be using DOMAIN based groups...  No local server groups or accounts can migrate to a remote server.)

You can use SHARE.VBS to build the shares on the new server...
both xcopy and robocopy will get everything but ->share and share permissions (not to be confused with NTFS permissions) copied/moved.  

You have to either create the share w/permissions manually or use the suggested vbs script that NJ mentions above.  **Then** run the xcopy or robocopy to migrate your files and ntfs permissions.
Try using Microsoft File Server Migration Toolkit.
I actually used the xcopy command, as suggested, and also in the Microsoft's Help, and as you said it transferred all the NTFS permissions successfully, but did not transfer the share or share permissions....which is fine as far as I'm concerned.  I had also read about this File Server Migration Toolkit....have any of you used it with success? Out of curiousity?

Thanks for the information,

JK
Oh, another question is that all the files I xcopied, now have an "A" attribute listed....I'm assuming that this is an archive bit, but wanted to double check.  This is standard I'm assuming....?
yes, you are correct...  After your first full backup, this attribute will clear.
Thanks, Glad we could help!