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!