I’m trying to save all NTFS shares security data using icacls
And I want to achieve this only for the upper folder
In other way, let’s assume, I have a directory; “D:\Share” and too many subfolders in it. I don’t want to save NTFS data for the subfolders and files of the parent subfolder
“D:\Share\Folder1” save NTFS security data
“D:\Share\Folder1\Subfolder1” do not save NTFS security data
So is there a workaround (that work) to stop ICACLS recursive function?
Thank you all