New
#1
Deleting unknown user from ACL
Warning: I thought I'd asked this already...
After transferring some HPFS USB drives from my old PC to the new PC, I've ended up with an unknown user in many of my files. It will be OldPC/Steve, but it manifests itself as S-1-5-21-713417444-3787200217-3968111754-1006 as demonstrated by cacls:
E:\>cacls tracefinal.txt /s
E:\tracefinal.txt "DA;;FA;;;BA)(A;;FA;;;SY)(A;;FA;;;S-1-5-21-713417444-3787200217-3968111754-1006)(A;;0x1200a9;;;BU)"
I can write a script to display the SDDL string for all my files, and to replace the SDDL string with the unknown user excluded, and leave it running for a few weeks (there are millions of files) but is there a better approach?