Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving folders and files what about permissions?

Status
Not open for further replies.

Scruby

IS-IT--Management
Jul 16, 2003
143
US
We are moving files and folders from one domain to another domain, is there a way to move the access control list when I move the folders and files so that they will have the same permission after the move? Someone told me about the CACLS command?

Thanks in advance, Scruby
 
I won't say no, but I suspect there's not. Though your usernames may be identical on both domains, they are absolutely unique to each domain. With that in mind it doesn't seem possible that you could migrate rights between unique users.
 
Windows backup is supposed to maintain the ACL's. You backup from one location and restore to another. The problem you may have is... who on the other domain is going to have the SID's that are listed in the ACL? Nobody is my guess. I suspect you are going to have to rebuild the ACL's to reflect the SID's for the other domain. Even if you have a username that is the same for both domains, the security ID's aren't going to match.
 
Thank you ALL, Looks like Robocopy.exe and percopy.exe will do the trick.

Scruby
 
Robocopy will work for the folders, is there a command to move user accounts from one domain to another domain and still have the same acls?

Thanks, Scurby
 
There are support tools supplied with the server that are not normally installed. You must manually install these. In those utilities, you will find programs that move object from one domain to another in active directory, like movetree.exe

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top