Need a VB Script to Show what Users/Groups have permissions to a Folder

Posted on 2014-01-07
Medium Priority
Last Modified: 2014-01-25
Hello team,

I'm not a VB expert.  What I'm looking for is a VB script that when you enter a path and folder, it will out put those users and groups that have access to that folder.

If you have any help or recommendations I would greatly appreciate it.


Question by:stargazerm31
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 19

Expert Comment

by:Jeremy Weisinger
ID: 39763705
Does it have to be a script? AccessChk from Sysinternals will do the trick:

And if you like the GUI: http://technet.microsoft.com/en-us/sysinternals/bb897332.aspx

Author Comment

ID: 39763726
I'll check this out.  No it doesn't have to be a script as long as it is easy for any admin to run and produce for audit purpose.  Thanks.. John
LVL 57

Expert Comment

by:Mike Kline
ID: 39763737
NTFSPermissions reporter is another good one that is free    http://www.cjwdev.co.uk/Software/NtfsReports/Info.html

dumpsec is an old school program that also works but give the others a try first.


Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39763775
I don't see how that provides me what I want.
LVL 57

Expert Comment

by:Mike Kline
ID: 39763787
Are you talking about permission reporter? Sounds like that is what you need exactly see this screenshot




LVL 53

Accepted Solution

Will Szymkowski earned 2000 total points
ID: 39764009
You can use a program from SolarWinds called Active Directory Permissions Analyzer which will display all of the permissions for Shared folders and also NTFS permissions as well.

Active Directory Permissions Analyzer - http://www.solarwinds.com/products/freetools/permissions_analyzer_for_active_directory/

If you want to use powershell to accomplish this you can also use the below syntax to accomplish this as well...

read-host "enter your network location here" | get-acl | fl

Open in new window

Use the above code and press enter. It will ask for the network path, enter it in and it will provide the permissions for all of the users that have ACL's associated to the directory.


Author Closing Comment

ID: 39808585
Sorry for the slow response.  As normal everything has gone crazy and I was traveling.  The wonderful cold, snowy weather hasn't helped.

Thank you all for your input.  The Solarwind product was the right price and did the trick.  Thanks Will for your help.


Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Let's recap what we learned from yesterday's Skyport Systems webinar.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question