Solved

ROBOCOPY getting access denied

Posted on 2010-09-04
7
910 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
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 96

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

707 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