Share via

problems using robocopy

Anonymous
2010-11-10T21:46:31+00:00

I am trying to copy data from one computer to another but I am having some problems.  Below is the command I am using to do this copying.

NET USE \\server2\data /USER:server2\backup password

robocopy \\server1\data \\server2\data /ZB /MIR /R:2 /W:5 /XA:SH /COPY:DATSO /LOG+:server1-data-log.txt /NP

NET USE \\server2\data /DEL

I have run into a variety of errors including the below:

  • This security ID may not be assigned as the owner of this object.
  • Access is denied.

I am confused on both of these errors.  The account I am using is called backup and it is a member of the Administrators group.  The backup account exists on both the source and destination computers.  How can a member of the Administrators group get an access is denied error message?  Also I am confused about the security ID not being able to be assigned as the owner of an object.

Any ideas?

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2010-11-11T22:01:32+00:00

    OK thanks for the response.  Something very odd that I have seen is that when I specify the backup account in the command

    NET USE \\server2\data /USER:server2\backup password

    then I am getting  "access is denied"

    If I use the local administrator group then the files copy correctly.  However the backup account is a member of the administrators group so this confuses me.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-11-11T17:55:14+00:00

    Hi,

    Since you are in a domain environment, as mentioned by me in my previous post, I would suggest you to post in TechNet forums in windows server security category. The Windows Server Security Forums have experts that would better assist you with getting access denied in a domain environment. 

    http://social.technet.microsoft.com/Forums/en-US/winserversecurity/threads

     Thank you and Regards.           

    Thahaseena M

    Microsoft Answers Support Engineer.

    Visit our Microsoft Answers Feedback Forum and let us know what you think.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-11-11T15:37:49+00:00

    Hi Thahaseena M,

    Thanks for the reply. 

    Yes this is in a domain environment.  The account I am trying to use to perform the robocopy is a local account on server2 named backup.  Server2 is the destination computer.

    On which computer should I checked if I can copy?  Should I login to the source computer (server1) and then login with the backup account on server1 and see if I can copy?  If that is the question then yes I can copy.

    Of course the backup account on server 2 is different than the backup account on server1 since they are both local accounts.  They both have the same user ID and password however.  Do I have to use a domain account to do this type of a robocopy?  I believe I have been able to do it successfully in the past with a local user account on the destination computer.  However I am doing something wrong in this case.

    The backup account on the source computer (server1) has full access to the files but of course the backup account on the destination computer (server2) is what is listed in the robocopy command.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2010-11-11T14:43:51+00:00

    Hi,

    ·        Are you on a domain environment?

    I would suggest you to give permissions to the file and then try to copy the files and check. Follow the steps mentioned below.

    a.       Right click on the files that you want to copy and click on properties.

    b.      Click on the security tab and give full access to the file.

    c.       Now copy and check whether the issue is resolved.

    For further reference check the link mentioned below.

    Troubleshoot "access denied" when opening files or folders

    http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-access-denied-when-opening-files-or-folders

    If you are on a domain, then I would suggest you to post your query on TechNet forums. Check the link mentioned below.

    http://social.technet.microsoft.com/Forums/en/categories/

    For further assistance, I would suggest you to contact the system administrator.

    Thank you and Regards.           

    Thahaseena M

    Microsoft Answers Support Engineer.

    Visit our Microsoft Answers Feedback Forum and let us know what you think.

    Was this answer helpful?

    0 comments No comments