Solved

ROBOCOPY getting access denied

Posted on 2010-09-04
7
907 Views
Last Modified: 2013-12-01
i am trying to copy a whole bunch of data from a server 2003 file server to a server 2008 file server using robocopy \\source \\dest /E /COPYALL and i am getting access denied on several files. I was under the impression that robocopy could copy anything regardless of permissions.

can you help?
0
Comment
Question by:dirkdigs
7 Comments
 
LVL 6

Expert Comment

by:apresence
ID: 33605036
Where are you getting access denied?  If you're getting it on the destination system (Server 2008), then make sure to start the command prompt with "Run as administrator".
0
 

Author Comment

by:dirkdigs
ID: 33605038
@apresence i am domain admin.
0
 

Accepted Solution

by:
dirkdigs earned 0 total points
ID: 33605042
think i need to use /B option ? is this correct ?

 /B : Copy files in Backup mode.


my syntax is this robocopy \\source \\dest /COPYALL /B /E /SEC /MIR
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Expert Comment

by:apresence
ID: 33605043
If your access denied errors are on the source system, make sure:
- The account you are using on the 2008 system has full administrator rights on the 2003 system
- The network share on the 2003 system allows full permissions for the account you are using from the 2008 system

It is also to get access denied errors if you're trying to copy files that are open in exclusive mode.


- Chris
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 33605063
Just because you are logged in as a domain admin does NOT mean that you are running the command prompt as a domain admin.  MAke sure you have the command prompt running as a domain admin.
0
 
LVL 1

Expert Comment

by:martinnolan
ID: 33606091
just map a drive with admin login to the destination you are trying to copy to and then use that and/or we found to connect to the destination server first and then run robocopy
0
 
LVL 4

Expert Comment

by:bigg_oil
ID: 33623466
use robocopy \\source \\dest   /o /h /e /c /k

with the switches /o /h /e /c /k
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CloudBerry to Amazon for VM 3 71
iscsi device with 0 LUN ID 2 76
Creating biggest partition Using 4TB 17 36
Windows 2012 R2 -- create 3.5TB GPT from unallocated space ? 1 32
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
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 video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

777 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