Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

copy files without losing original permissons

Posted on 2013-01-29
4
Medium Priority
?
334 Views
Last Modified: 2013-01-30
Hi,

I need to copy data from a trusted domain to my local domain and I need to save the original permissions from the source.

I've tried some options from internet (robocopy) without success.

Thanks in advanced.
/Miguel
0
Comment
Question by:ecemibm
4 Comments
 
LVL 42

Expert Comment

by:Meir Rivkin
ID: 38830216
this i basically what u need to do:
icacls <source-folder> /save AclFile /T
- Will save the ACLs for all files under c:\windows
 and its subdirectories to AclFile.

icacls <target-folder> /restore AclFile
- Will restore the Acls for every file within
 AclFile that exists in c:\windows and its subdirectories.

check here:
copy files while retaining security permissions
0
 
LVL 6

Expert Comment

by:Tomislavj
ID: 38830658
try with good old xcopy and /o /x switches
0
 
LVL 18

Accepted Solution

by:
Sarang Tinguria earned 2000 total points
ID: 38832620
Try this on RichCopy  ...its a GUI and have much more improvements over robocopy

http://technet.microsoft.com/hi-in/magazine/2009.04.utilityspotlight(en-us).aspx
0
 

Author Closing Comment

by:ecemibm
ID: 38835538
really good and easy.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question