ROBOCOPY Error The security ID structure is invalid
I have a robocopy job running between a Windows 2003 server. The source is
Windows 2003 server and destination is a EMC NAS NS20.
I am getting the below error messgae to many of the copy operation.
ERROR 1337 (0x00000539) Copying NTFS Security to Destination Directory
The security ID structure is invalid.
What is causing this error? If I run the robocopy between 2 Windows sevrers
it works fine.
Re: I have a error message
Re: ROBOCOPY Error The security ID structure is invalid
The error that you are getting is actually caused by the CIFS file server that returns invalid security information for a file. Like for example, if the CIFS file server returns a Null Security ID for a files Owner when Robocopy attempts to copy this information to the destination file then Windows will return this error. So to solve this issue, go to the CIFS file server and use the proper tools to correct the security information for affected files. Also make sure that all affected files have both Primary Group SID and Owner SID. For more information visit this website - http://support.microsoft.com/kb/2459083
Re: ROBOCOPY Error The security ID structure is invalid
The EMC develops a utility called EMCOPY which can help you to copy the content off of difficult file systems. You can also check the below examples for some more information:
emcopy.exe \\original server\share\some directory \\destination CNS hosted fileserver\share /o /s /c /r:3 /w:5 /log:"c:\local log file.txt"
emcopy.exe \\original server\share\some directory \\destination CNS hosted fileserver\share /s /c /r:3 /w:5 /log:"C:\local log file.txt"