icacls podem fazer isso:
nome ICACLS [/ grant [: r] Sid: perm [...]] [/ negar Sid: perm [...]] [/ remove [: g |: d]] Sid [...]] [/ T] [/ C] [/ L] [/ Q] [/ setintegritylevel Nível: política [...]]
/remove[:[g|d]] Sid removes all occurrences of Sid in the ACL. With
:g, it removes all occurrences of granted rights to that Sid. With
:d, it removes all occurrences of denied rights to that Sid.
Você também pode verificar entradas incorretas:
ICACLS name /verify [/T] [/C] [/L] [/Q] finds all files whose ACL is not in canonical form or whose lengths are inconsistent with ACE counts.