Groups or User Names dumped to a spreadsheet or .txt file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to take a share, say a share called home, that has hundreds of
user directories in it and dump to a spreadsheet or text file the directory
name and the user/group name that has access to that directory?
 
Hi,

you could write your own VBS Scripts(ADS) or a .NET 2 FW based Application
that enumerates
all the SecurityPolicies/Roles with all the (D)ACL's and ACE's on the
desired object and create
a file i.e. XML Style Result-Set that can be parsed with a target parser for
further processing.

But there is nothing Out-Of-the-Box you could use for instance. Maybe the
"tree.exe" command
can help you to visualize the contents of the root folder with all the
subfolders and files in it.
You could direct its output with a direction operator (> or >>) into a file
and take a lookt at it
with i.e. Notepad. And then you could use the calcs.exe to examine the
(D)ACL's on the Objects(Files/Folders).
This is a great job for a VBScript wich will be the most powerfull solution
for you case and can
be written in less than a hour.

Check this out:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tree.mspx?mfr=true

and this

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cacls.mspx?mfr=true

I hope this will help you...

Best Regards

Kerem Gümrükcü
 
Back
Top