We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


User rights list

Medium Priority
Last Modified: 2008-01-16
    Having Win2K server and many folders under one root folders. there are different users may be around 120 users having different rights on all these folders. now i wish have a list on excel or whatever possible way list of rights say read, write,modify & delete with respect to each user i.e which user has what rights, it is very impossible to go through each & every single folder and take down the user rights, any software utilities by which i can get this.

Watch Question

You can get this information using the CACLS command.


Here is an example VBS script that will create a list of user permissions for each sub-folder in the directory that you specify. The above website also has a key that shows you what the output values mean.

'>>>>    set directory here

Directory = "C:\Program Files"

Set fso = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")

If fso.FileExists(path) Then
  Set filetxt = fso.OpenTextFile("GetACL.bat", 8, True)
  Set filetxt = fso.CreateTextFile("GetACL.bat", True)
End If

Set Folders = fso.GetFolder(Directory)
Set Folder = Folders.SubFolders

For Each SubFolder in Folder
  filetxt.WriteLine("cacls " & """" & SubFolder & """")

objShell.run("cmd /c GetACL.bat > ACL.txt")
objShell.run("notepad ACL.txt")

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.