Solved

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

Posted on 2013-01-23
1
647 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

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!

Question has a verified solution.

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

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

770 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