I'm having issues with imaging a NTFS filesystem where the ACL/ACE of a file has invalid ACL/ACE dependencies.
chkdsk does not detect or fix the problem. Is there a tool available to detect (fixing is optional but preferred) such issues?
It won't automatically repair as far as I know, but you might be able to do some scripting to save the broken filenames off to a file, then re-run icacls against them to repair.
icacls ships with 2003SP2+ by the way.