Solved

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

Posted on 2011-09-08
5
533 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 250 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

A procedure for exporting installed hotfix details of remote computers using powershell
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…

821 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