A few free tools I like
Dumpsec will dump the permissions (I like this one)
http://www.systemtools
A
http://technet.microso
Americom also listed some other good tools in his answer here:
http://www.experts-exchang
Thanks
Mike
Hello all..I am trying to figure out a way to "export" and document all permissions that users have on a file server (folders/shares) into a readable format (excel or something)
Any suggestions?
Thanks in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
A few free tools I like
Dumpsec will dump the permissions (I like this one)
http://www.systemtools
A
http://technet.microso
Americom also listed some other good tools in his answer here:
http://www.experts-exchang
Thanks
Mike
Hi,
If you want to do it programmatically, You can follow these steps, (My answer is in Win32 context, there must be easier ways in C#)
1. Call GetNamedSecurityInfo API. It will give you DACL. Specify SE_LMSHARE as ObjectType. You'll need to take care of security related issues like impersonation and all otherwise this API will give you Access Denied error.
2. Once you get the DACL, call GetExplicitEntriesFromAcl API to get the list of users with rights.
3. You may get the user in the form of SID (check TrusteeForm member of TRUSTEE structure). You can convert it to the actual user name using LookupAccountSid API. You'll have to implement your own functions for mapping rights values to appropriate strings.
4. Once you have complete data (mostly in string/char*), making it readable is very easy.
Hope this helps...!!!
Cheers,
Milind
The description to get this "streamlined" report was actually already included in http:#a25555671 ...
Business Accounts
Answer for Membership
by: oBdAPosted on 2009-10-12 at 15:35:36ID: 25555671
Well, there's always the good old cacls: m/somarsof t)
com/en-us/ sysinterna ls/ bb89733 2.aspx) com/en-us/ sysinterna ls/ bb66492 2.aspx) com/en-us/ sysinterna ls/ bb89744 2.aspx) m/products /securitye xplorer/)
cacls "SomeFolderOrFile"
If you want a more concise list, check this from SystemTools/Somarsoft (my favorite tool):
DumpSec (http://www.systemtools.co
Install the download on an XP machine, uncheck "Hyena"; you can then copy DumpSec.exe and the help file to where you want.
You'll get the most concise report possible when you go to Report > Permission Reports Options, check only "Show Permissions", and set the radio button to "Show directories (but not files) whose permissions differ ...".
Showing the owner will create a lot of entries nobody actually cares about when all you want is an NTFS permission report, and file permissions usually aren't that interesting, either.
Finally save the report as tab-delimited file, and you can import it into Excel.
Then there are these tools from Sysinternals:
AccessEnum (http://technet.microsoft.
AccessChk (http://technet.microsoft.
ShareEnum (http://technet.microsoft.
Or this one from Scriptlogic:
Security Explorer (http://www.scriptlogic.co