Solved

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

Posted on 2014-01-07
7
297 Views
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.

Thanks

John
0
Comment
Question by:stargazerm31
[X]
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
7 Comments
 
LVL 18

Expert Comment

by:Jeremy Weisinger
ID: 39763705
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
 

Author Comment

by:stargazerm31
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
0
 
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.

Thanks

Mike
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:stargazerm31
ID: 39763775
I don't see how that provides me what I want.
0
 
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

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

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

Thanks

Mike
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 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.

Will.
0
 

Author Closing Comment

by:stargazerm31
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.

John
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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