Solved

ROBOCOPY getting access denied

Posted on 2010-09-04
7
909 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
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…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

733 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