Link to home
Start Free TrialLog in
Avatar of cliffordgormley
cliffordgormleyFlag for United States of America

asked on

Need to copy files from one hard drive to another, and want to retain same security and share permissions.

Hello,
I need to copy folders and files that have been 'shared', from one hard drive to another (on the same pc) because they are running out of disk space on the 'old' hard drive.  I want to retain the same security and share permissions on the destination hard drive as part of the copy procedure.

I need to retain the permissions because, after I am done copying, I need to map the domain users to the 'same' shared folders on the new hard drive (I will remove the share from the 'old' shares on the old hard drive, and create new shares with the same share name on the 'new' hard drive.)

Note that there are login script GPOs that map the domain users to these shares upon login.  

Also, are there any other GOTCHAs that I should anticipate?  I have to do this at a client, and then travel across country for 10 days, so I will not be able to do any followup troubleshooting if problems occur.

Thanks!
Avatar of DLeaver
DLeaver
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi
When copying/moving shared folders they will lose their shared status, and therefore for there SFS permissions  Best practice would be to copy the shared folders to the new drive, re apply the shared function and permissions and then map a drive to the new share.

Ensure you check the NTFS permissions as they are inherited from the root of the drive by default.
robocopy src destination /MIR /Copyall /B   could resolve the ntfs permissions

permcopy from microsoft ressource kit can resolve share permissions by copying permisions from one share to a dest share
Avatar of cliffordgormley

ASKER

Dleaver,
Please pardon me, but what is 'SFS'?

ingetic:
what is robocopy?  Where can I get it?
what is 'MIR'?  Is it a variable, or do I type in 'MIR'?
Here is a dumb question: Where can I get the Resource Kit?  Is it free?

Thanks
hey, what about 'xcopy'.  WOuld that work?

Avatar of jwilding
jwilding

Why not use NT Backup.  Backup your data to a file and then restore it from backup to the target destination?
Thanks all for your comments so far...
jwilding...Will using NTBackup preserve the NTFS permissions?  What about the shares; I doubt it preserves the shares, cuz then there will be duplicate Share Names on different drives on the same server.
ASKER CERTIFIED SOLUTION
Avatar of Ludovick Lagrevol
Ludovick Lagrevol
Flag of France 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
Yes it keeps the NTFS settings, but you are correct it trashes the share settings.

J
Hi

By SFS - I mean Simple File Sharing permissions, which are permissions used since FAT16 and FAT32 partitions, and are now used in conjunction with NTFS permissions on NTFS volumes.
shoot...I wanted to split points...where did the Split Points thing go?