office politics
It's all just 1s and 0s
- Messages
- 6,555
- Location
- in the lab
Find Folders that do not inherit permissions from the parent
click the link for the code
Find Folders that do not inherit permissions from the parent(Community)
Created by James Anderson
Find folders where the advanced security has been unchecked for "Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here." First query WMI to get a list of all folders. Next check each folder to see if the beginning of the path matches the root folder you want to check. The heart of the script checks the acl's on each folder to see if any of them are inherited. If any of them are, then the folder does inherit permissions from the parent. If not, then all the permissions have been assigned directly to the folder (folder does not inherit permissions). Output the results to a text file.
click the link for the code