Solved

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

Posted on 2014-01-08
4
262 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

863 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

25 Experts available now in Live!

Get 1:1 Help Now