[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-09-08
5
Medium Priority
?
569 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
ID: 36501337
robocopy is a windows command and /sec copy the security
0
 

Author Comment

by:ZUNO
ID: 36501401
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 1000 total points
ID: 36501467
robocopy /? is the help

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

0
 

Author Comment

by:ZUNO
ID: 36501493
Brilliant.

Thank you.
0
 

Author Closing Comment

by:ZUNO
ID: 36501497
Simple and easy to understand.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…
Suggested Courses

865 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