Solved

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

Posted on 2013-01-23
1
652 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

Suggested Solutions

Title # Comments Views Activity
Cause of ransomware attack 13 114
Powershell Code 4 31
Office 365 Resource Calendars aka "Rooms" 4 41
Powershell Regex Replace Question 5 21
A safe way to clean winsxs folder from your windows server 2008 R2 editions
A brief introduction to what I consider to be the best editor for PowerShell.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

749 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