Solved

Robocopy

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Veeam backup Plan 2 91
Veeam backup Catalog 6 63
SBS serve  2008 offsite backup 2 54
Solaris SUN OS 4.1.3 machine clone 15 30
Life is full of imperfections – we all know it. Sometimes bad things happen to people for no particular reason. As they say: “it happens”. All we can do is to find a way to make some unavoidable situations… avoidable. Every kind of hardware has i…
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…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now