Solved

Is there a program I can use to find blocked inheritance?

Posted on 2014-01-08
4
278 Views
Last Modified: 2014-04-14
We have a file server with many folders.
Someone once-upon-a-time put inheritance blocking on many of them.

Is there an easy way to find out which folders have had inheritance blocked?

Thanks
Phil
0
Comment
Question by:philkryder
[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 53

Accepted Solution

by:
Will Szymkowski earned 300 total points
ID: 39766964
I am assuming that you are talking about NTFS permissions? You are looking for deny permissions on directories?

You can use SolarWinds Permission Analyzer (free) - http://www.solarwinds.com/products/freetools/permissions_analyzer_for_active_directory/

You can also use powershell to accomplish this. Use the below syntax...

Get-Childitem -Path <rootpath> -recurse | get-acl | out-file c:\directories.csv

Open in new window


Will.
0
 
LVL 1

Author Comment

by:philkryder
ID: 39769337
I'm actually looking for inheritance being blocked.
is that the same?
I don't think so...
0
 
LVL 22

Assisted Solution

by:yo_bee
yo_bee earned 200 total points
ID: 39835492
You can try this Powershell Script.

$dir = 'Replace with parent folder directory path '

Get-ChildItem  $dir -Directory -Recurse  ? {
 Get-Acl $_.FullName | % {
 $_.GetAccessRules($true, $true, 'System.Security.Principal.NTAccount') |
 ? {!$_.IsInherited}
 }
 }

Open in new window


Or

$dir = 'Replace with parent folder directory path '
Get-ChildItem $dir  -Recurse | ? {$_.PSIsContainer} | ? {
 Get-Acl $_.FullName | % {
 $_.GetAccessRules($true, $true, 'System.Security.Principal.NTAccount') |
 ? {!$_.IsInherited}
 }
 }

Open in new window

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Server 2008 R2 - Clock Time out of synch 14 55
How does ADMT SID History work? 1 43
AD account Auto logoff 1 35
DCOM was unable to communicate with the computer 8 30
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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 show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

735 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