One of our users is requesting a list of the users and groups that have access to two folders on the network, as well as all of the subfolders of both of these folders. There are hundreds, if not thousands, of subfolders. Is there an automated way that I can do this?
I would use get-acl from powershell:
this:
cacls.exe
should do what you require, its a bit hard to read but that comes with the territory of doing such a task on command line.You might also try the SolarWinds tool for this, though it's not great at recursion.