[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 573
  • Last Modified:

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

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.
0
ZUNO
Asked:
ZUNO
  • 3
  • 2
1 Solution
 
smangognaCommented:
robocopy is a windows command and /sec copy the security
0
 
ZUNOAuthor Commented:
Do you mind being more specific? Perhaps the example of exact line that should go to the command line?

Thanks.
0
 
smangognaCommented:
robocopy /? is the help

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

0
 
ZUNOAuthor Commented:
Brilliant.

Thank you.
0
 
ZUNOAuthor Commented:
Simple and easy to understand.
0

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

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now