Solved

Robocopy

Posted on 2014-03-18
2
357 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
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

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.
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

837 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