Best way to find out what rights users have to files on a network drive

I need to find a way via a script or something else to list  all users and what rights they have to files on a particular drive for a windows server?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hello ThereSystem AdministratorCommented:
There exists a tool NTFS Permission Auditor For Folders and Files. Open this link and check out provided examples.

Otherwise you can check permissions if you open file or folder Properties -> Security Tab -> Advanced -> Effective Permission -> choose a specific user or group.
Hello ThereSystem AdministratorCommented:
Or just use this:
Get-ChildItem 'FOLDERNAME' -Recurse | Where-Object {(Get-Acl $_.FullName).Access | Where-Object {$_.IdentityReference -eq 'DOMAINUSERNAME'} }

Get-ChildItem 'D:\testfolder' -Recurse | Where-Object {(Get-Acl $_.FullName).Access | Where-Object {$_.IdentityReference -eq 'DOMAIN\testuser'} }

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vmichAuthor Commented:
Well I need to list what permissions all users have on one network drive.
Meaning what type of access each user who has access to this one drive, what their permissions are for the entire drive and I need this in a list form
C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Kevin StanushApplication DeveloperCommented:
You have to do as 'Hello There' instructed and get ALL of the security permissions for all of the files/folders you are interested in, and then probably put this into a CSV so that you can then sort it on the user/group account.  I would dump it into a CSV and put in Excel so that you than then do whatever you want with it.

There isn't a way in Windows to list this information by user as its not stored that way.
Klavs RDeveloper, owner of AlbusBitCommented:
I can recommend these tools -
NTFS Permissions Auditor Free or NTFS Permissions Reporter Free Edition.
You can specify a network directory and get all the users who can access it and what rights they have. Then you can export these results to Excel and group them as you need.
Kevin StanushApplication DeveloperCommented:
Before proceeding using cjwdev's products, send an email to their support address to see if they are still supporting the product.
vmichAuthor Commented:
Used Get-Childitem command
NVITEnd-user supportCommented:
Use icalcs and send the results to files for review. e.g.

Report on folders in z:\folder:
icacls z:\folder\*.>zfolders.txt

Open in new window

Report on folders and subfolders in z:\folder:
icacls z:\folder\*. /t>zsubfolders.txt

Open in new window

Report on files and folders in z:\folder:
icacls z:\folder\*>zfilesandfolders.txt

Open in new window

Report on files and subfolders in z:\folder:
icacls z:\folder\* /t>zfilesandsubfolders.txt

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.