ACL corrupted how to fix it

I have deeb folder structure. There is inheritance enabled in all folders but there is also added some extra permissions for some spesifig folders. This folder structure's ACL has somehow corrupted and when I make some change to parent folder permissions these changes dont affect to all child items. If I check some of these problem folder I can verify that inheritance is checked.

Is there some way that I could fix this ACL. It's of course possible to set all manually but it would be a huge job to do and im trying to find a way to do this somehow automatically...

thanks in advance
thaapavuoriAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rhinocerosCommented:
You may try to use icacls...

If an ACL has become corrupted or destroyed, icacls.exe has a way to reset it to inherit from its parent...
http://technet.microsoft.com/en-us/magazine/2007.07.securitywatch.aspx

More info
http://ss64.com/nt/icacls.html
0
thaapavuoriAuthor Commented:
I found a way to handle this with other expert exchange case which I had opened before http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26465454.html

Thanks a lot for your effort :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.