Recursive Access Control Lists with Max Depth

On June 16, 2011, in Scripting, by Cubert aka (Cube Dweller)

Here is a Visual Basics script I put together which will list all of the Access Control Lists (ACL’s) for all folders in a particular directory.

It allows you to specify a start point and a max depth to recurse.

I needed this so that I could generate a report listing the ACLS’s for various shares. It uses the CACLS executable and as long as you have access to the shares it should run without issue. (However, as with anything Microsoft, I make no guarantees that it will function properly on your system). I tried to account for various idiosyncrasies’ in the way windows operates but if you find a bug, let us know and we will try to correct it.

Download -> ACL List script

Tagged with:
 

1 Response » to “Recursive Access Control Lists with Max Depth”

  1. Cubert says:

    Sweet, I’ll put that to use.

Leave a Reply

*



%d bloggers like this: