Windows Server – List Existing File Server Permission Groups/Users

file-permissionswindows-server-2008

So we took over a new client and their file server is frankly a mess.

We have migrated their old file server from a 2k box to a 2k8 DFS cluster and now I'm looking at rebuilding both the folder structure and their permissions. Unfortunately its been half done with AD groups (poorly named/no description/notes) and half with individuals named in security on the folders themselves.

What I'm looking to do is to dump a complete list of all the folders with their security permissions (ideally I'd like to ignore files but not essential).

CACLS got me half way there but fails with an odd error message and its output isn't particularly user friendly and I'm working with roughly 2Tb/250,000 files here so I really need something that gives me a bit more functionality.

Question : does anyone have any experience of something similar/know of a bit of software that might help me out?

Best Answer

you have several options. But first I would suggest you maybe make your life easier by using xcopy to only copy the directories and their respective ACL/Auditing settings.

you might be able to continue with cacls or use something else...

  1. AccessEnum from Sysinternals
  2. PowerShell may have some possibilites. This LINK may help (corrected).
  3. Python calling on Win32 API. I haven't tested this LINK, but have a look...

All that, but why not do the human part and sit down with people and ask who needs access to what? Then create a new structure and permissions based on the needs using your conventions and documentation.