Solved

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

Posted on 2011-09-08
5
520 Views
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.
0
Comment
Question by:ZUNO
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:smangogna
Comment Utility
robocopy is a windows command and /sec copy the security
0
 

Author Comment

by:ZUNO
Comment Utility
Do you mind being more specific? Perhaps the example of exact line that should go to the command line?

Thanks.
0
 
LVL 5

Accepted Solution

by:
smangogna earned 250 total points
Comment Utility
robocopy /? is the help

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

0
 

Author Comment

by:ZUNO
Comment Utility
Brilliant.

Thank you.
0
 

Author Closing Comment

by:ZUNO
Comment Utility
Simple and easy to understand.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

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

8 Experts available now in Live!

Get 1:1 Help Now