Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Windows icacls and saving NTFS security data of subfolders

$
0
0

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


Viewing all articles
Browse latest Browse all 15028

Trending Articles