Fix: RoboCopy ERROR: RETRY LIMIT EXCEEDED.
Using RoboCopy, if you encounter ERROR: RETRY LIMIT EXCEEDED the error may be related to permissions on files and folders you are copying from network paths. Permissions might have gotten screwed up if you used Windows File copy to move a portion of folder/files and then try to Robo Copy them.
The solution is to grant SYSTEM full control on the files or folders to transfer on the host machine. Right click the folder or files -> Security Tab -> SYSTEM -> Full Control Read Write.
In the Robo Copy log file (if you are outputting one) you might see it backfilling with errors related to below but they copy should push through now.
ERROR 1314 0x00000522 Copying NTFS Security to Destination File
A required privilege is not held by the client.
* Please use the comment form below. Comments are moderated.*
Comments 2
I use Gs RichCopy 360 and I didn't face any issue like that before but it seems you can handle it
So now I understand the error, but what if I want these types of errors to be failures and have Robocopy give up after the specified retry count? I have RC running as a scheduled job, and right now the only way to detect failures related to server ability is to have the task scheduler time out the job, which doesn't tell us why RC is failing.