I have to create a report of all files/directories within a certain directory structure on a server that Domain Admins DO NOT have access to.
I know some admins have removed Domain Admins locally from certain files/folders. I now need to report which files/folders a logged in domain admin cannot get to.
I have some vbscript and have thought about tools like subinacl or cacls, but I see nothing that will get me what I need. I have a vbscrip0t I can use to report everything and maybe I can tell it to only report ones that do not have Domain admin in the ACL, but I dont think that will account for Domain Admins being nested within another group. I think the ACL you get with vbscript is not the effective one.
Any ideas?
I know some admins have removed Domain Admins locally from certain files/folders. I now need to report which files/folders a logged in domain admin cannot get to.
I have some vbscript and have thought about tools like subinacl or cacls, but I see nothing that will get me what I need. I have a vbscrip0t I can use to report everything and maybe I can tell it to only report ones that do not have Domain admin in the ACL, but I dont think that will account for Domain Admins being nested within another group. I think the ACL you get with vbscript is not the effective one.
Any ideas?