Solved

How to retain NTFS permissions when transfering files between two 2k8 server ?

Posted on 2013-01-23
1
641 Views
Last Modified: 2013-01-23
Hello all,

I have a (A) Win 2k8 Std without Hyper-V OS and a (B) Win 2k8 R2 Std.

I need to transfer directories from A to B.

I am using Robocopy, it transfers the permissions but in target I have to go to the Security Tab, Advanced, Owner, Edit, choose Administrators, ok, ok then I am able to access the folder.

Instructions set used:

ROBOCOPY /Mir P:\Doug Z:\Doug

ROBOCOPY /E /Copy:S /IS /IT P:\Doug Z:\Doug
ROBOCOPY P:\Doug Z:\Doug /MIR /SEC /SECFIX
0
Comment
Question by:namerg
1 Comment
 
LVL 16

Accepted Solution

by:
choward16980 earned 500 total points
ID: 38812183
The security descriptors change on the new machine, which wouldn't match the owner on the old machine, thus rendering the security useless.  You can use CACLS afterwards in your script to grant full permission to a user/users/group to automate the ownership change.

Unfortunately, this is by design and completely necessary.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
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…

762 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

26 Experts available now in Live!

Get 1:1 Help Now