[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

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

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.

Thanks

John
0
stargazerm31
Asked:
stargazerm31
1 Solution
 
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
Does it have to be a script? AccessChk from Sysinternals will do the trick:
http://technet.microsoft.com/en-us/sysinternals/bb664922

And if you like the GUI: http://technet.microsoft.com/en-us/sysinternals/bb897332.aspx
0
 
stargazerm31Author Commented:
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
0
 
Mike KlineCommented:
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.

Thanks

Mike
0
Industry Leaders: 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!

 
stargazerm31Author Commented:
I don't see how that provides me what I want.
0
 
Mike KlineCommented:
Are you talking about permission reporter? Sounds like that is what you need exactly see this screenshot

http://www.cjwdev.co.uk/Software/NtfsReports/Ntfsv1-maintable.png

http://www.cjwdev.co.uk/Software/NtfsReports/Ntfsv1-tableresults.png

Thanks

Mike
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
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.

Will.
0
 
stargazerm31Author Commented:
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.

John
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now