[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Robocopy to NAS fails on files with orphaned SIDS

Posted on 2011-04-20
Medium Priority
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
  • 3

Expert Comment

ID: 35432184
You could use NTbackup to backup the files and then do a restore to the new location.

Expert Comment

ID: 35432252
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

ID: 35432281
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

turbodewd earned 0 total points
ID: 35437993
found emcopy by EMC getsaround my problem.

Author Closing Comment

ID: 35458594
a colleague told me about this tool.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
A look at what happened in the Verizon cloud breach.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

872 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