Best way to copy files with keeping the security (permission) settings?

Posted on 2011-09-08
Last Modified: 2012-05-12
I have a Windows Server 2008 R2 that has multiple drives. Currently there is drive D:\ that users within our company can see as S:\ share. For couple of reasons I need to copy all the folders on this D:\ drive to the newly created F:\ drive that new users are supposed to see as S:\ share.

What is the FASTEST, EASIEST and MOST SECURE way to perform this WITHOUT losing the current security and permission settings?

Both drives (old D:\ drive) and newly created (F:\ drive) are on the same server. So it's local copying. Maping the new drive to look as S:\ share is not a problem, will be done via GPO.

Thanks for the tips.
Question by:ZUNO
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
  • 3
  • 2

Expert Comment

ID: 36501337
robocopy is a windows command and /sec copy the security

Author Comment

ID: 36501401
Do you mind being more specific? Perhaps the example of exact line that should go to the command line?


Accepted Solution

smangogna earned 250 total points
ID: 36501467
robocopy /? is the help

robocopy soruce destination /s /e /sec /r1 /w1 /x /np /loc:c:\log.txr


Author Comment

ID: 36501493

Thank you.

Author Closing Comment

ID: 36501497
Simple and easy to understand.

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

717 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