• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3277
  • Last Modified:

Error 5 Creating Destination Directory using robocopy

I am trying to get robocopy to work.

The syntax is simple
robocopy \\server\data \\backupsever\G /MIR

Doing this i get an Error 5 creating destination directory. I have also tried /B which gets me an Error 5 access denied.

Running as Domain Admin all rights to all folders and drivers are full control.

Any ideas?
  • 2
1 Solution
Robocopy needs to "log on as a service" it should be granted "Adminstrator
Rights" to log on as a service for any areas that you want to backup.  In
some cases this would be the equivalent of a Domain Admin with rights to log
on as a service.

"G" seems like a manually added share (or was that a typo?); have you checked the *share* permissions for this share? W2k3 default when creating a new share is Read Only for Everyone; make sure you give Everyone Full Access for the share permissions, do the access restrictions with NTFS.
DAMAdminAuthor Commented:
Thanks for the synctoy tip that is one great little program, does exactly what i needed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now