Solved

copy files without losing original permissons

Posted on 2013-01-29
4
328 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:sedgwick
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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

791 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