Solved

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

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

717 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