Robocopy to NAS fails on files with orphaned SIDS

Posted on 2011-04-20
Last Modified: 2013-11-14
Hi all

I am trying to robocopy files from a Windows server to a NAS and my robocopy bombs out on files which have orphaned SIDs.  I get error 1337 'the security ID structure is invalid'.

Interestingly Robocopy is able to create the directories on the NAS and the orphaned SID is no longer there, its just that there are no files in there.

I have fiddled with the Robocopy /secfix option but am having noluck so far.  Can anyone think of a way around this?  Removing all orphaned SIDs on my fileshares will be hard because I support 950 of them!
Question by:turbodewd
    LVL 9

    Expert Comment

    You could use NTbackup to backup the files and then do a restore to the new location.
    LVL 7

    Expert Comment

    Can you copy those files without security (/COPY:DAT for example?)
    Is it an otion to copy all files withou security and place back security on the destination? or are there a lot of different ACLs?

    Can you try to use the /B (Backup) switch?

    Author Comment

    Firstly, i am dealing with very short timeframes.  A datacenter has to be vacated within weeks.  I have 17TB to move.

    Ultimiately I need the security on there but I dont think robocopy can add it once the file is there. If the date/time stamp matches the source it wont copy coz i thinks the file is the same.  I may be wrong. Currently fiddling with robocopy.

    Any NAS side solution to this?  Im guessing not coz it simply obviously doesnt support orphaned SIDs it seems and bombs out coz the format of an orphaned SID is all numbers and Ss and other characters.

    Accepted Solution

    found emcopy by EMC getsaround my problem.

    Author Closing Comment

    a colleague told me about this tool.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    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 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…

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now