Solved

copy files without losing original permissons

Posted on 2013-01-29
4
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

762 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