• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 659
  • Last Modified:

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

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
namerg
Asked:
namerg
1 Solution
 
Chris HIT DirectorCommented:
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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now