Problem : Robocopy – ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory
I am trying to mirror a network share to another server using Robocopy. Half the files and folders work ok, however the other half I get this message:
ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory
Solution : Robocopy – ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory
That means that the account you’re using doesn’t have Full Control on all folders you’re trying to copy. When copying NTFS permissions, your account *has* to have Full Control over the complete tree you’re copying, otherwise, as you’re noticing, you don’t have the permissions to change the permissions on the target folder.