Robocopy: “You do not have the Backup and Restore Files user rights” [Field Notes]
[Ed. Note: “Field Notes” is a place where I plan to succinctly describe solutions to problems that I run across in my daily work. They are meant as a reference; ask if you have any questions!]
In Windows 7, Using Robocopy with the
/ZB switches yields the error:
You do not have the Backup and Restore Files user rights
This is due to UAC.
Either run the command prompt as an administrator (with appropriate credentials) or ensure that your scheduled task has appropriate credentials.
Leave a comment