Solved

copy files without losing original permissons

Posted on 2013-01-29
4
324 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
Comment Utility
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
Comment Utility
try with good old xcopy and /o /x switches
0
 
LVL 18

Accepted Solution

by:
sarang_tinguria earned 500 total points
Comment Utility
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
Comment Utility
really good and easy.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now