Hello @Miguel Angel Vara Martinez ,
Thanks for your query.
Is it working if you encrypt the target folder first?
https://social.technet.microsoft.com/Forums/en-US/bf21fd4b-4aff-4509-841e-2748e332e977/robocopy-efsraw-option-fails-with-quotthe-specified-file-could-not-be-encryptedquot?forum=winserverfiles
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
Best regards,
Leila
----------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.