Link to home
Create AccountLog in
Avatar of dirkdigs
dirkdigs

asked on

ROBOCOPY getting access denied

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?
Avatar of apresence
apresence

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".
Avatar of dirkdigs

ASKER

@apresence i am domain admin.
ASKER CERTIFIED SOLUTION
Avatar of dirkdigs
dirkdigs

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
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
Avatar of Lee W, MVP
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.
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
use robocopy \\source \\dest   /o /h /e /c /k

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