authentify
asked on
Duplicating Permissions
I know the saying of permisions cannot be transferred. Here is teh situation...
I have two servers with the identical directory structure on each and need to have the exact permissions on both. How do I copy teh directory structure from one to the other AND the permissions? Can it be done easily?? FRS possibly? Thank you all for any help?
I have two servers with the identical directory structure on each and need to have the exact permissions on both. How do I copy teh directory structure from one to the other AND the permissions? Can it be done easily?? FRS possibly? Thank you all for any help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
xcopy source destination /T /O
will copy all the directory structure and their permissions.
Make first a test.
I see some permissions were not transfered.
will copy all the directory structure and their permissions.
Make first a test.
I see some permissions were not transfered.
Robocopy can handle that, it's part of the Server Resource Kit.
You can get the Resource Kit for 2003 here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
There's a command reference for it here:
http://www.ss64.com/nt/robocopy.html
I think you'll need something like:
robocopy <source> <destination> * /E /COPY:DATSOU
Which basically copies everything.