Hi,
Please tell me the OS of your server.
According to the error information, you need to log onto an Administrator account and run cmd (choose Run as Administrator).
I found a similar thread and I hope it could help at your side:
https://serverfault.com/questions/83280/server-2008-robocopy-access-denied-to-user-folders-b-error-i-dont-understand
Thanks for your time!
Best Regards,
Mico Mi
-----------------------------
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.