Solved

How to find file shares or directories associated with a security group in Windows

Posted on 2011-09-09
4
443 Views
Last Modified: 2012-05-12
I need to determine all shared folders (or just directories) associated with a given Active Directory security group.  Is there an easy way to do this (the hard way only got me so far!)  TIA
0
Comment
Question by:thomsone
4 Comments
 
LVL 9

Expert Comment

by:x3man
ID: 36510063
0
 
LVL 7

Expert Comment

by:ComputerBeast
ID: 36510097
Hello,

    Probably you would find your solution at:
 http://www.tech-faq.com/shared-folder-permissions.html
If not please specify the problem in detail with the system specifications.
0
 
LVL 8

Accepted Solution

by:
Amitabh Singh earned 500 total points
ID: 36510139
Hi
as i understand you want to list all shared folder in a system wear a specific security group is added ?

it can be done using cacls windows command and a filter ;)

Example

================================================================
C:\>cacls *|find /i "BUILTIN\Administrators"

C:\AUTOEXEC.BAT BUILTIN\Administrators:F
                BUILTIN\Administrators:F
C:\BOOT.BAK BUILTIN\Administrators:F
C:\boot.ini BUILTIN\Administrators:F
C:\CA_LIC BUILTIN\Administrators:F
          BUILTIN\Administrators:(OI)(CI)(IO)F
C:\cmdcons BUILTIN\Administrators:F
           BUILTIN\Administrators:(OI)(CI)(IO)F
C:\cmldr BUILTIN\Administrators:F
C:\CONFIG.SYS BUILTIN\Administrators:F
              BUILTIN\Administrators:F
C:\Downloads BUILTIN\Administrators:F
             BUILTIN\Administrators:(OI)(CI)(IO)F
            BUILTIN\Administrators:F
            BUILTIN\Administrators:(OI)(CI)(IO)F
C:\Em BUILTIN\Administrators:F
      BUILTIN\Administrators:(OI)(CI)(IO)F
C:\ExtraOutlook.exe BUILTIN\Administrators:F
C:\>
================================================================
it will list all folders in c: drive wear  BUILTIN\Administrators have some rights , you just need to change  BUILTIN\Administrators to your domain group and it will show you the permissions information
---------------------------------------------------------------------------------------------------
http://support.microsoft.com/kb/135268
http://technet.microsoft.com/en-us/library/cc726004.aspx#BKMK_cp
0
 

Author Closing Comment

by:thomsone
ID: 36510266
Thanks, that helped immensely!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now