Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with

robocopy c:\source "\\server\share\path" /s /r:2 /w:2` 

As a result I get permission denied. Using explorer I can copy files to this share. I've opened a command prompt with administrator permissions with the same result. The share is read/write for public.

[EDIT] I've successfully mapped a driveletter to the share, but robocopy still fails

EDIT I've added the /B switch without success. The exact error is:

2009/09/26 20:43:14 ERROR 5 (0x00000005) Accessing Destination Directory \drobo \Drobo\fotos__NEW\Ericsson\

link|improve this question

Type 'net use' and press enter. Edit question with result please – Luke Nov 21 '11 at 2:50
feedback

4 Answers

Have you tried mapping the shared folder to a drive letter?

link|improve this answer
Yes I tried that first. Same result – Edoode Aug 24 '09 at 10:45
1  
@CGA: Robocopy handles UNC paths just fine. – surfasb Nov 21 '11 at 4:59
feedback

Have your tried taking ownership of the shared folder? Are you on a workgroup or an Active directory domain?

link|improve this answer
I'm using a Workgroup. I did take ownership. – Edoode Sep 23 '09 at 15:53
feedback

Try copying files using the Backup flag :

/B : Copy files in Backup mode.

link|improve this answer
Thx, I'll try that. – Edoode Sep 23 '09 at 15:54
feedback

If you use the /V parameter, does Verbose mode give you any other information? The error 5 is usually an access denied message. From a command prompt can you use the COPY command? Does this work with other UNCs or is the Drobo the only one that fails? If so, the Drobo people may be the best place to turn for answers.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.