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

Problems using Powershell and Active Directory?

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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