?
Solved

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

Posted on 2011-09-09
4
Medium Priority
?
450 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
[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
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 2000 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

771 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