Solved

Robocopy

Posted on 2014-03-18
2
362 Views
Last Modified: 2014-03-18
what settings do I need so I can fix this error.   This is a log from a batch file that copies files to another server.

2014/03/18 12:17:50 ERROR 5 (0x00000005) Accessing Destination Directory \\cby2207\D\bu\vm\kirk\2014-03-05-195501\
Access is denied.
0
Comment
Question by:bankwest
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 250 total points
ID: 39937622
On the destination directory ensure the sharing permissions allow Read and Write to the account you are running robocopy with.

Right click the folder and go to properties then sharing and add the required account.
0
 
LVL 15

Assisted Solution

by:WalkaboutTigger
WalkaboutTigger earned 250 total points
ID: 39937635
Does the authenticated used have access to write to the destination?
Are you authenticating to the destination prior to running Robocopy as part of your batch -

net use \\cby2207\D /user:domain\username password 1> LogFile.txt 2>ErrFile.txt
If ERRORLEVEL 1 goto NetUseErr

In the above example, the LogFile.txt and the ErrFile.txt MUST be two separate files.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question