I have an odd problem where I can't remove any files with an empty ACL:
>icacls "avfilter-7_ms.dll" /grant Administrator:F
avfilter-7_ms.dll: Access is denied.
This is what the file looks like:
No groups or users have access to this object.
However, when I use the Windows security UI, I am able to add myself as Full Control to the object. I have thousands to delete; is there a way to do this? icacls seems to be completely unable to touch these files.