Solved

Robocopy

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ProCurve ACL 5 95
Azure Backup Locations 2 69
Backup Data/Portable NAS storage 4 94
Backup fail due to VSS errors. 4 163
We planned to use NetApp's SnapManager for Exchange (SME) to make three snapshots a day for quick recovery. Additional we planned to use Symantec NetBackup7 to backup to tape media for disaster recovery. We followed the best practice guide from NetA…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

685 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