Solved

Robocopy to copy files with Read-Only Attribute

Posted on 2008-10-01
3
1,394 Views
Last Modified: 2010-04-21
Hello Experts,

I am using Robocopy to copy a bunch of files.  I received the following error:

2008/10/01 08:27:39 ERROR 5 (0x00000005) Scanning Source Directory \\irctera\usbdisk1\Current\2005 Jobs\Models\Fire Sensitivities\Jet Fires\10%sw10\10%SW10_0329.jpg\
Access is denied.

From what I read on here...this is because the files are Read-Only.  Is there a way to copy the files anyway?

thanks,
Wayne
0
Comment
Question by:thewayne73
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Justin Durrant earned 500 total points
ID: 22615471
use the backup mode switch

/Z :: copy files in restartable mode.
/B :: copy files in Backup mode.
/ZB :: use restartable mode; if access denied use Backup mode.
0
 

Author Comment

by:thewayne73
ID: 22615653
thanks...I will give it a try after the current job is finished.
0
 

Author Closing Comment

by:thewayne73
ID: 31502005
thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.

828 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