Remove permission inheritance from hundreds of subfolders

AJ524 used Ask the Experts™

I have a folder full of hundreds of sub folders.  The parent folder has one set of permissions that we would like to keep and then we would like to customize the sub folder permissions as needed over time.  In order to arrange for this, I need to break inheritance for all of the sub folders under the parent.  Going into the advanced permissions setting on each sub folder is extremely time intensive and inefficient.  Looking for a convenient way to batch this or a command that will allow me to handle this much more efficiently.  Any suggestions?

Windows 2008 R2 file server, Windows 7 Pro clients.  Thanks!!

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012
You can use Icacls

        e - enables inheritance
        d - disables inheritance and copy the ACEs
        r - remove all inherited ACEs


Right you are sir!

This command did it:
C:\Users\admin> icacls q:\parent\*.* /inheritence:d

Many thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial